Added check to file upload to make sure $_FILES had been set