Adds a grocery list to a text file