added creteFileDownload method