You'll also need to actually tell us the format of the file since there is a chapter, how are you defining a chapter?