Adds support for all line ending types