Creating a parser to read xml, not rewrite the file thought. Adding a function in order to do more generic stuff.