Set up functionality to upload and send files