This method exists as a separate function so it can be used by ConfigFile OR outside of ConfigFile.
where to save the file
2 functions:
This method exists as a separate function so it can be used by ConfigFile OR outside of ConfigFile.