add a file upload function to sinatra