Use Streams in TextFile.
Tidy up TextFile a bit.
Merge pull request #23 from greboid/moretidying

Use Streams in TextFile.