American Airlines and its parent company, AMR Corp., are filing for chapter 11 bankruptcy, citing massive debt built up by years of high fuel prices and labor struggles.