generate documents for all items that has children
change filename rule