fixed route for files
added download as a zip file support