Format the config file.