Use sqlite instead of a text file
It would be a lot better for you to use a sqlite database rather than a text file, you get:
- less code because you don't need to write the parser, which makes the app easier to maintain and update
- probably faster access times to your data
- safer data: it's less trivial for the user to fuckup you data as modifying the database will still maintain it's integrity, while modifying the file can easily break everything if the syntax is not strictly respected
- you get to learn SQL! \o/