@Override
  public VirtualFile[] getChildren() {
    if (myChildren == null) {
      List<Path> files = NioFiles.list(myFile);
      if (files.isEmpty()) {
        myChildren = EMPTY_ARRAY;
      }
      else {
        VirtualFile[] result = new VirtualFile[files.size()];
        for (int i = 0; i < files.size(); i++) result[i] = new CoreLocalVirtualFile(myFileSystem, files.get(i));
        myChildren = result;
      }
    }
    return myChildren;
  }
@Override
  public VirtualFile[] getChildren()