@classmethod<EOL><INDENT>def from_file(cls, f):<DEDENT>
element = ElementIterator.from_file(f)<EOL>assert element.tag == "<STR_LIT>"<EOL>return cls.from_element(element)<EOL>
Constructs a :class:`~mwxml.iteration.dump.Dump` from a `file` pointer.

:Parameters:
    f : `file`
        A plain text file pointer containing XML to process