remove template file