New financing helps A&P emerge from bankruptcy