Remove unused local vars
Template now supports passing .tt at the end