code: def read_key_value_pairs_from_file(*path):
      
      with open(os.path.join(*path)) as f:
          for line in f:
              yield line.split(' ', 1)
docs: Read key value pairs from a file (each pair on a separate line).
      Key and value are separated by ' ' as often used by the kernel.
      @return a generator of tuples