Delete tempfile after recognition