code: def record(self):
          
  
          modules = []
          scripts = []
          if self.get_content_of_file('RECORD'):
              lines = self.get_content_of_file('RECORD').splitlines()
              for line in lines:
                  if 'dist-info' in line or '/' not in line:
                      continue
                  elif '.data/scripts' in line:
                      script = line.split(',', 1)[0]
                      # strip Name.version.data/scripts/
                      scripts.append(re.sub('.*/.*/', '', script))
                  else:
                      # strip everything from first occurance of slash
                      modules.append(re.sub('/.*', '', line))
  
          return {'modules': sorted(set(modules)),
                  'scripts': sorted(set(scripts))}
docs: Getter that get content of RECORD file in .whl archive
          Returns:
              dict with keys `modules` and `scripts`