Making sure the downloadFile has the right length