Check for UPLOAD_ERR_NO_FILE in UploadedFile

fixes #4276 
@samdark You are right. ```fileUploaded``` should be non static. I'll correct that.