add a simple checker to validate the final book file