clear file event's pointer when deleting event