public static AnalyticsFile Load(string file) { AnalyticsFile config = new AnalyticsFile(file); try{ Serializer.ReadIfExists(file, config); }catch (Exception e) { Program.Reporter.HandleException("Analytics File Error", "Could not open the analytics file.", true, e); } return(config); }