Create _transmit_file()
Do not check whether the file has expired when session["user_id"] exists