public IAccountService LoadAccounts() { try { Accounts = AccountStore.GetValues <UserAccount>(AccountStore.FLAT_FILE_PATH).ToHashSet(); } catch (Exception) // for expediency, handle any exception by initializing a new hashset { Accounts = new HashSet <UserAccount>(); } return(this); }