Check if the config file exist before saving