check if file exists to avoid redownloads