docs: def read_key_value_lines(path, separator=' ', default_value=''):
      """
      Reads lines of a text file with two columns as key/value dictionary.
  
      Parameters:
          path (str): Path to the file.
          separator (str): Separator that is used to split key and value.
          default_value (str): If no value is given this value is used.
  
      Returns:
          dict: A dictionary with first column as key and second as value.
      """
      gen = read_separated_lines_generator(path, separator, 2)
  
      dic = {}
  
      for record in gen:
          if len(record) > 1:
              dic[record[0]] = record[1]
          elif len(record) > 0:
              dic[record[0]] = default_value
  
      return dic