Can you clarify what features you need?
Do you only need to extend the file as per your example or do you also need to insert
new rows at various points in the file and/or do you need to edit the content (update) an existing row?

Also, how big can the file get?
This would determine the best approach.