Added downloadFile()