public static boolean isMobFile(final Path path) {
    String fileName = path.getName();
    String[] parts = fileName.split(MobUtils.SEP);
    if (parts.length != 2) {
      return false;
    }
    Matcher m = HFILE_NAME_PATTERN.matcher(parts[0]);
    Matcher mm = HFILE_NAME_PATTERN.matcher(parts[1]);
    return m.matches() && mm.matches();
  }
Checks if the file is a MOB file
@param path path to a file
@return true, if - yes, false otherwise
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/StoreFileInfo.java