Linn Energy Files for Bankruptcy with Creditor Deal in Hand