add file upload validator