public static DataFileType parseFileTypeForBase(String path) {
    String fileName = TableFileUtil.getFileName(path);
    Matcher matcher = KEYED_FILE_NAME_PATTERN.matcher(fileName);
    if (matchMixedFileFormat(matcher)) {
      DataFileType type;
      type = DataFileType.ofShortName(matcher.group(2));
      if (type == DataFileType.INSERT_FILE) {
        type = DataFileType.BASE_FILE;
      }
      return type;
    } else {
      return DataFileType.BASE_FILE;
    }
  }
Parse file type for BaseStore.

@param path - path
@return file type, return BASE_FILE if is not file format of mixed-format tables
amoro-format-iceberg/src/main/java/org/apache/amoro/data/FileNameRules.java