Added function with a form to allow file uploads.