Added code for memory mapped file reading