private InventorConfiguration initializeConfiguration() { try { return(ConfigurationFile.DeserializeFromFile <InventorConfiguration>()); } catch { var configuration = new InventorConfiguration(); SaveConfiguration(); return(configuration); } }