correct mmap and loading binary file