Delete unnecessary template files.