Bankruptcy may not be the answer.