@classmethod
def read_xml_file(cls, filename):
    """Read XML file into memory."""
    xml = []
    with open(filename, 'rb') as fd:
        for line in fd:
            if b'<atom:link rel=' in line:
                continue
            xml.append(line)
    return b''.join(xml)
