ReOrganization of Transactional Flow to Adjust to different Patterns of
incoming XML files