The chain also acquired the prescription files of 626 former Rite Aid and Bartell Drugs pharmacies in 15 states.