file upload template
server side handling of file uploads