private String @NotNull [] chooseRemoteFiles() throws ExecutionException, InterruptedException {
    SdkAdditionalData sdkAdditionalData = mySdk.getSdkAdditionalData();
    if (sdkAdditionalData instanceof PyRemoteSdkAdditionalDataBase) {
      PythonRemoteInterpreterManager remoteInterpreterManager = PythonRemoteInterpreterManager.getInstance();
      if (remoteInterpreterManager == null) {
        return ArrayUtil.EMPTY_STRING_ARRAY;
      }
      return remoteInterpreterManager.chooseRemoteFiles(myProject, (PyRemoteSdkAdditionalDataBase)sdkAdditionalData, false);
    }
    else if (sdkAdditionalData instanceof PyTargetAwareAdditionalData) {
      var dialog = new ManualPathEntryDialog(myProject,
                                             ((PyTargetAwareAdditionalData)sdkAdditionalData).getTargetEnvironmentConfiguration());
      if (dialog.showAndGet()) {
        return new String[]{dialog.getPath()};
      }
      else {
        return ArrayUtil.EMPTY_STRING_ARRAY;
      }
    }
    else {
      return ArrayUtil.EMPTY_STRING_ARRAY;
    }
  }
private String @NotNull [] chooseRemoteFiles()