add validations to book files