file upload, data directory clean and download zip file now working