Added possibility to read xml files