Grocery store chain A&P files for bankruptcy