Plugin now deletes temporary file