this takes a pdf and creates txt files for each level 1 bookmarks