Performance improvements for file load via mmap