public final void addFile(@NotNull String entryName, @NotNull Path file, long timestamp) throws IOException {
    entryName = entryName(entryName);
    if (accept(entryName, file)) {
      addFile(file, Files.readAttributes(file, BasicFileAttributes.class), entryName, timestamp);
    }
  }
public final void addFile(@NotNull String entryName, @NotNull Path file, long timestamp)