Avoided using mmap() directly.