def METHOD_NAME(filename: str) -> typing.List[model.Message]:
    def message(elem: etree.Element) -> model.Message:
        name = etree.get(elem, 'name')
        msg_type = etree.get(elem, 'msgType')
        return model.Message(name=name, msg_type=msg_type)
    tree = etree.parse(filename)
    return [message(elem) for elem in tree.findall('.//fixr:message', _NS)]