private static void addToPythonPath(VirtualFile file, Collection<String> pathList) {
   if (file.getFileSystem() instanceof JarFileSystem) {
     final VirtualFile realFile = JarFileSystem.getInstance().getVirtualFileForJar(file);
     if (realFile != null) {
       addIfNeeded(realFile, pathList);
     }
   } else {
     addIfNeeded(file, pathList);
   }
 }
 private static void addIfNeeded(
     @NotNull final VirtualFile file, @NotNull final Collection<String> pathList) {
   addIfNeeded(pathList, file.getPath());
 }