The tainted food would have little to do with internal worms, but it could have a lot to do with an internal bacterial infection. I recommend storing all foods, including flake, in the freezer. You should only buy foods in portions that you will use up within a couple of months. Get some fresh...