new load function (mmap)