Fixed the reading of a trailing newline in a file

Fixes #67 
Yes to use `\s` as a regexp.