Resolved validation problem with file upload in places