Saving files automatically in a separate file.