@NotNull
  private static File createTempFile(@NotNull VirtualFile file, @NotNull FileNameInfo fileName) throws IOException {
    byte[] bytes = file.contentsToByteArray();
    return createFile(bytes, fileName);
  }
@NotNull
  private static File createTempFile(@NotNull VirtualFile file, @NotNull FileNameInfo fileName)