set up files for chapter 4