modify downloadedFile to downloadUrl