@Override
  public void checkAccess(Path path, AccessMode... modes) throws IOException {
    getDelegate(path, null).checkAccess(fromDelegatePath(path), modes);
  }
@Override
  public void checkAccess(Path path, AccessMode... modes)