Code to demonstrate a custom build facet, which generates text files per root node.