Recursive function for creating a pedigree
private.xml file