public void saveToFile(@NotNull File file, @Nullable ProgressIndicator indicator) throws IOException {
    connect(request -> request.saveToFile(file, indicator));
  }
public void saveToFile(@NotNull File file, @Nullable ProgressIndicator indicator)