One option is to use the stream operator >> and <<. They write everything to files as strings by default, so they are human readable.
If you need something more sophisticated, I suggest you look...