Remove the mmap usage. Do not use memory buffer to hold the whole file.