fix for multi-line file reading
up the test coverage