code: public static Path restoreFilePath(Path path) {
      return new Path(path.getName().replaceAll(Pattern.quote(LATE_COMPONENT) + "[\\d]*", EMPTY_STRING));
    }
docs: Remove the late components in the path added by {@link LateFileRecordCountProvider}.