Fixing parsing of the extended header during the read file function. The proper fixes were put into the “readHeader()” function but not the “readData()” function.
Done cherry picking