create transactation by file type