Delete tempfile after usage.
Add multi templates.