This page gives examples to
1. Create a text file
2. Append lines to an exsiting file
3. Read a single line from a file
4. Read all lines from a file