checking if old files are there BEFORE downloading