<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_plain_text(self):

 """Returns a list"""

        _msg = self.message if self.message is not None else [""]
        msg = _msg if isinstance(_msg, list) else [_msg]
        line = "" if not self.line else ", line {}".format(self.line)
        ret = ["{} found in file '{}'{}::".format(self.type.capitalize(), self.filename, line),
               "  <<"]+ \
              ["    "+x for x in msg]+ \
              ["  >>"]
        return ret