Moving the logic for the handling of the upload inputs out into its own file, making it more generic.
You can now have multiple multiple file uploads on the same page