With Deal in Hand, Charter Files for Bankruptcy