This tutorial now lives on a single page. If you are not redirected automatically, continue to Reading and Writing Text to Files.