delete tempfiles after read