@Override
  public PsiFile findFile(@NotNull String name) {
    ProgressManager.checkCanceled();
    VirtualFile childVFile = myFile.findChild(name);
    if (childVFile == null) return null;
    if (!childVFile.isValid()) {
      LOG.error(
        "Invalid file: " + childVFile + " in dir " + myFile + ", dir.valid=" + myFile.isValid(),
        new InvalidVirtualFileAccessException(childVFile)
      );
      return null;
    }
    return myManager.findFile(childVFile);
  }
@Override
  public PsiFile findFile(@NotNull String name)