def parse_atom_file(filename: str) -> AtomFeed:
    """Parse an Atom feed from a local XML file."""
    root = parse_xml(filename).getroot()
    return _parse_atom(root)
def parse_atom_file ( filename : str ) -> AtomFeed : root = parse_xml ( filename ) . getroot ( ) return _parse_atom ( root )
Parse an Atom feed from a local XML file.