public static OptionalLong getBulkloadSeqId(final Path path) {
    String fileName = path.getName();
    int startPos = fileName.indexOf(SEQ_ID_MARKER);
    if (startPos != -1) {
      String strVal = fileName.substring(startPos + SEQ_ID_MARKER_LENGTH,
        fileName.indexOf('_', startPos + SEQ_ID_MARKER_LENGTH));
      return OptionalLong.of(Long.parseLong(strVal));
    }
    return OptionalLong.empty();
  }
@see #SEQ_ID_MARKER
@return If the path is a properly named bulkloaded file, returns the sequence id stamped at the
        end of the file name.
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/StoreFileInfo.java