code: def create_keyval_section(pairs, name):
      '''create a section based on key, value recipe pairs, 
         This is used for files or label
  
        Parameters
        ==========
        section: the list of values to return as a parsed list of lines
        name: the name of the section to write (e.g., files)
  
      '''
      section = ['%' + name ]
      for pair in pairs:
          section.append(' '.join(pair).strip().strip('\\'))
      return sectiof create_keyval_section(pairs, name):
      '''create a section based on key, value recipe pairs, 
         This is used for files or label
  
        Parameters
        ==========
        section: the list of values to return as a parsed list of lines
        name: the name of the section to write (e.g., files)
  
      '''
      section = ['%' + name ]
      for pair in pairs:
          section.append(' '.join(pair).strip().strip('\\'))
      return section
docs: create a section based on key, value recipe pairs, 
         This is used for files or label
  
        Parameters
        ==========
        section: the list of values to return as a parsed list of lines
        name: the name of the section to write (e.g., files)