We are now ready to explore how to read and write files. About half of this chapter is devoted to explaining some of the I/O functions and classes. This chapter by no means covers all the things that one can do with a file. It is designed to give the student a good base, but leaves out things like advanced formatting and random access.