Refactoration with simple functions
Processes xml file, directory of xml files and directory of collections
Documentation about enumerator