code: def files(self):
          
          info = self.metainfo['info']
          if 'length' in info:    # Singlefile
              yield info['name']
          elif 'files' in info:   # Multifile torrent
              rootdir = self.name
              for fileinfo in info['files']:
                  yield os.path.join(rootdir, os.path.join(*fileinfo['path']))
docs: Yield relative file paths specified in :attr:`metainfo`
  
          Each paths starts with :attr:`name`.
  
          Note that the paths may not exist. See :attr:`filepaths` for existing
          files.