added code to split file by campaign