change to MMapDirectory