Checkpoint: Save the configuration to a file and move it to the correct folder