Multiple files in one transaction working