split-template.pl - split up a big template file into smaller fragments