use mmap to load file content