Check if file exists in download_file()