Removes whitespace from expected output file