set downloaded file path to pref