code: private static List<File> findPythonScripts(List<File> pythonLibDirectories) {
          List<File> scripts = new ArrayList<>();
          for (File dir : pythonLibDirectories) {
              if (dir.exists()) {
                  scripts.addAll(Arrays.asList(dir.listFiles(PYTHON_SCRIPT_FILE_FILTER)));
              }
          }
          return scripts;
      }
docs: Searches for all python script files contains in the directories.
  
  @param pythonLibDirectories A list of directories to scan.
  @return A list of all found files.