def read_file_to_dict(file_name):
  """ 
  Converts a file with key=value format to dictionary
  """
  with open(file_name, "r") as fh:
    lines = fh.readlines()
    lines = [item for item in lines if '=' in item]
    result_dict = dict(item.split("=") for item in lines)
  return result_dict