def append_config_file(filename, line)
      File.open(filename, "a") { |f| f.puts(line) }
    end
def append_config_file(filename, line)
      File.open(filename, "a") { |f| f.puts(line) }
    end
Appends line to config file