add a rough implementation of opening xml files, which will be replaced by opening elts files