@Override
    public boolean isAccepted(LookupFile file) {
      if (file instanceof VfsFile) {
        VirtualFile vFile = ((VfsFile)file).getFile();
        return vFile != null && myDescriptor.isFileVisible(vFile, myShowHidden);
      }
      else {
        return false;
      }
    }
@Override
    public boolean isAccepted(LookupFile file)