Deleted method windowsStyle, as it didn't have windows style line endings, refractored methodLineEndings for test-driven development and added a test for it