new names for files; tpl extension; delete intermediates