private void ReplaceTransactions(Func <ITransaction, bool> toReplaceFunc, SupportedTransactionTypes supportedTransactionType)
        {
            string transactionsFile = GetTransactionsFilePath();

            _transactionsManager.ReplaceWithTransactionsFromFile(
                toReplaceFunc,
                transactionsFile,
                _transactions,
                supportedTransactionType);
        }