Im sure they said, 'we'll give you lots of money....on our terms." The filing was certainly part of the deal, as now they are more senior lenders and the equity is had for a song.
I believe Bloomberg reports that the amount was on the order of $750 million.