private void SaveChanges() { File.WriteAllText(locations.ShutdownHistoryFilePath, JSONUtils.ToJson(dateTimes)); }