@NotNull
  private static List<InputFile> createInputFiles(@Nullable Project project,
                                                  @NotNull List<? extends DiffContent> contents,
                                                  @NotNull List<String> titles,
                                                  @Nullable String windowTitle) throws IOException {
    List<InputFile> inputFiles = new ArrayList<>();
    for (int i = 0; i < contents.size(); i++) {
      DiffContent content = contents.get(i);
      FileNameInfo fileName = FileNameInfo.create(contents, titles, windowTitle, i);
      inputFiles.add(createFile(project, content, fileName));
    }
    return inputFiles;
  }
@NotNull
  private static List<InputFile> createInputFiles(@Nullable Project project,
                                                  @NotNull List<? extends DiffContent> contents,
                                                  @NotNull List<String> titles,
                                                  @Nullable String windowTitle)