Setting GetTranactionData - take TransactionItem by files pdf and excel

make it as
Directory.GetFiles(“”).ToList