Fix bugs of data upload - changes requirement of the file type
validation