It has complex failure modes though, unless you're not at all concerned about what happens if the program crashes, power goes out, file gets corrupted, etc.
It's surprisingly difficult to write something that stores changing data on disk correctly and durably.