Added set_file_prefs