public PersistenceController() { String persistencePath = ConfigurationUtil.ReadConfiguration("PersistencePath", "GestorPresupuesto\\Saved.json"); path = Path.Combine(Environment.GetFolderPath(SpecialFolder.MyDocuments), persistencePath); secondsToSave = ConfigurationUtil.ReadConfigurationAsInt("CacheWriteSeconds", 60); lastRead = DateTime.MinValue; cache = ReadFile(); }