Measurement class now opens file in binary mode. Therefore no unwanted newline character is appended each line on windows.