Format the settings file