use the lxml library to also read compressed .xml files
minor changes