Remove not needed final static variables
Detect line ending before parsing

The numBytes is reduced when a windows file ending is found.
Better comments