use the dir_id