FAYETTEVILLE — The U.S. Department of Agriculture filed a notice of appeal after a federal judge struck down waivers in five states that excluded purchases of candy, soda and other items from the Supplemental Nutrition Assistance Program, known as SNAP.