Another hint: You can also look into the documentation (section: Working with configurations) to get a general overview on the configuration file storage in ctrlX OS.
Additinaly here are two how tos on how to use this storage for configuration files from your self created snap:
SDK - Empower your app with Data Persistance
Create and delete files and folders in Active configuration
... View more