Improved logic of uploader function

Removed unnecessary if condition. Now all uploads are run through the checkFile function, which will catch empty uploads.

To check:
1) Navigate to mesh profile page
2) Click "upload" (do NOT attach a file first)
3) The page should refresh with a warning that says "There does not seem to be a file here"

Rinse and repeat.