Support for Windows newline
Fixed Windows line endings
Remove newline at end of file