Close files to prevent dangling descriptors.
Allow 8.0
Move to byte vs character offset to fix files with non-ascii characters.
Fix typo, update example image