add param for setFileName

Signed-off-by: Fabien Crassat <fabien@crassat.com>
Refactoring LibXmlDisplayErrors

Signed-off-by: Fabien Crassat <fabien@crassat.com>