protection from creating book with null file
Merge branch 'master' into beta