check if downloaded file is complete