persisting data in a text file.