Added a delete into the task to get rid of the temporary file