code: def slugify(scheme_file):
      
      scheme_file_name = os.path.basename(scheme_file)
      if scheme_file_name.endswith('.yaml'):
          scheme_file_name = scheme_file_name[:-5]
      return scheme_file_name.lower().replace(' ', '-')
docs: Format $scheme_file_name to be used as a slug variable.