Make the dat file reader a lot faster