add pref file