Switch to Java8 methods for TextFile.
Merge pull request #13 from greboid/master

Use J8 methods in TextFile.