Changing to read fixed number of bytes