private void BankType(ReconciliationFile rec) { var bankName = GetBank(rec.BackupPath); if (bankName == TransactionBanks.BBL.ToString()) { var bbl = new BBLProcessor(); bbl.Reader(rec); } else if (bankName == TransactionBanks.KBANK.ToString()) { var kbank = new KBankProcessor(); kbank.Reader(rec); } else if (bankName == TransactionBanks.SCB.ToString()) { var scb = new SCBProcessor(); scb.Reader(rec); } }