Exposed the original file size.

Fixed two bugs:  1) bad bug with recognising CR and LF, and 2) better support for files with LF followed by LF