implement DownloadHandler
Clean up