generate download for single file