As a general idea, it is not recommended to use the installed
file to store any user data. The best way would be for the application
to create a new file that stores it. At the simplest form, this method
would consist of simply creating a copy of the installed file and
modifying that.

If the application cannot create the file from scratch it
should use the installed file as a template for the files that store the
user data, meaning that the application uses the installed files as a
starting point. It merges the user data with the template data to create
the new file.