generates an xml file with dir contents
added reference dirs