pass fileid to download() and deletefile()