@Override
  public PsiFile @NotNull [] getFiles() {
    if (!myFile.isValid()) throw new InvalidVirtualFileAccessException(myFile);
    VirtualFile[] files = myFile.getChildren();
    ArrayList<PsiFile> psiFiles = new ArrayList<>();
    for (VirtualFile file : files) {
      PsiFile psiFile = myManager.findFile(file);
      if (psiFile != null) {
        psiFiles.add(psiFile);
      }
    }
    return PsiUtilCore.toPsiFileArray(psiFiles);
  }
@Override
  public PsiFile @NotNull [] getFiles()