[48243769] add callbacks to delete the tmp files