added Java code to parse downloaded campaigns