private static void Load()
 {
     if (SystemIOFile.Exists(FileName))
     {
         var streamFile = new FileStream(FileName, FileMode.OpenOrCreate);
         _historicalRecordings = (HistoricalRecordings)XmlHistoricalRecordings.Deserialize(streamFile);
         streamFile.Close();
     }
 }
        private static HistoricalRecordings Create()
        {
            DateTime now = DateTime.Now;

            var result = new HistoricalRecordings
            {
                DateFrom = new DateTime(now.Year - 3, 1, 1),
                DateTo   = new DateTime(now.Year, 10, 1)
            };

            result.Save();
            return(result);
        }