Fix file_transaction call for multiple files