US food wholesaler and retailer Roundy’s has agreed to buy 31 Rainbow Foods stores from troubled grocery distributor Fleming for US$42.5m plus inventory.