static void tokenReplaceTemplateAtDestination(
Map<String,String> map, String templatePath, String targetPath) {
final LineTokenReplacer tr = new LineTokenReplacer(map2Set(map));
tr.replace(templatePath, targetPath);
}
static void appendTextToFile(File to, String what) {
// todo - this should be a high-level utility