private void checkNotClosed() {
    if (closed) {
      throw new IllegalStateException("Storage already closed");
      //TODO RC: ClosedStorageException would be better, but .enumerate() doesn't declare IOException
    }
  }
private void checkNotClosed()