US company B&G Foods will acquire four food brands from Unilever in a deal worth US$325m deal.