When purchasing flour or grains, store them in the freezer for one week to kill any eggs (Yup! Flour and grains often enter the house with eggs already laid, gross as that is.) After the week in the freezer, the grains/flour can be safely stored on a pantry shelf.