Making sure file exists before trying to localize it