Using data files as containers

In this project I'm working on, I'm planning on using a text file to hold all my data instead of keeping inside of a container in the program. Since performance is not an issue, I can pull the data from the program as needed. However, I'm not sure how to implement this nor how to avoid accidentally overwriting my data. Can anyone give ideas or guidance?
Nevermind. The idea turned out to be too complex to do properly.
Topic archived. No new replies allowed.