File.WriteAllText("SomeFile.Txt", new JavaScriptSerializer().Serialize(dictionary));
var dictionary = new JavaScriptSerializer() .Deserialize<Dictionary<string, string>>(File.ReadAllText("SomeFile.txt"));