When we import version 1.8 XML, we use CXmlImport18. Version 1.8 XML can contain hosts or screens, but not both at the same time. So there are two separate functions to parse XML file. parseScreen() for screens and parseMain() for hosts. Version 1.8 doesn't have templated screens, but there is a piece of code on lines 1667-1754 that will not execute.