@classmethod<EOL><INDENT>def from_file_obj(cls, fp):<DEDENT>
log.debug("<STR_LIT>")<EOL>try:<EOL><INDENT>fp.seek(<NUM_LIT:0>)<EOL><DEDENT>except IOError:<EOL><INDENT>pass<EOL><DEDENT>finally:<EOL><INDENT>s = fp.read()<EOL><DEDENT>return cls.from_string(s)<EOL>
Init a new object from a file-like object.
Not for Outlook msg.

Args:
    fp (file-like object): file-like object of raw email

Returns:
    Instance of MailParser