Chapter 3 file addition