Add mmap feature (not tested yet)