public static boolean isHFile(final String fileName) {
    Matcher m = HFILE_NAME_PATTERN.matcher(fileName);
    return m.matches() && m.groupCount() > 0;
  }
@param path Path to check.
@return True if the path has format of a HFile.
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/StoreFileInfo.java