check to exit of no md files found in book