FileDownload bugfixing and enhancement

* fixing missing use
* file download resume