create Dictionary class to store directoryMap
Create Dictionary class(store directory map)
Encode XML (PNAME value) and add output xml file function