fixed segmentation fault due to unallocated filename filed in TransactionFile