defaulted read_mode to universal newline mode