Adds with statement in the file chapter.