private static @NotNull Writer openFile(@NotNull Path outputDirectory, @NotNull String name) throws IOException {
      return getWriter(outputDirectory, name);
    }
private static @NotNull Writer openFile(@NotNull Path outputDirectory, @NotNull String name)