Save information to file out with date/time for each information

I daresay it sounds like you are moving toward generating either entries in a spreadsheet, or better yet records in a database. The possibilities of post-processing and querying the data later will be much better with either of these persistence tools, as compared to a text file.

If you are interested in learning about either of those solutions, there are lots posts on the forum with examples -- and if you get stuck, lots of members in this community that can help. Have fun!