Changed default to real newline, changed reading to loop to read newlines