Loading pref files