detect categories in opml files by checking if they have children