splits up ex. into two files - saves results