Added file I/O for the grocery list.