Writing the data in a text file should be really no problem, but you must write the data in a format to read it out. If it is all text, you can separate the item data with a newline "\n".
When you write the storing code you should also write the reading code. And write some test code to verify your solution ;-)
An "old school" solution would be ini-files with
WritePrivateProfileString. Each item would be a numbered section.