@ApiStatus.Obsolete
  public final void addDirectory(@NotNull File directory) throws IOException {
    addDirectory(directory.toPath());
  }
@ApiStatus.Obsolete
  public final void addDirectory(@NotNull File directory)