move transaction to new file