PsiFileSystemItem (PsiElement element) { PsiFileSystemItem file = element instanceof PsiFileSystemItem ? (PsiFileSystemItem)element : element.getContainingFile(); return (PsiFileSystemItem)PyUtil.turnInitIntoDir(file); }