implementing a download for a single file