code: def parse(self, lines):
          '''Parse the lines.'''
          if self.type == 'msdos':
              return self.parse_msdos(lines)
          elif self.type == 'unix':
              return self.parse_unix(lines)
          elif self.type == 'nlst':
              return self.parse_nlst(lines)
          else:
              raise UnknownListingError('Unsupported listing type.'f parse(self, lines):
          '''Parse the lines.'''
          if self.type == 'msdos':
              return self.parse_msdos(lines)
          elif self.type == 'unix':
              return self.parse_unix(lines)
          elif self.type == 'nlst':
              return self.parse_nlst(lines)
          else:
              raise UnknownListingError('Unsupported listing type.')
docs: Parse the lines.