some more notes on reading files, and a small three line text editor that actually writes six lines