DownloadFile method is updated.