debug for dnd dir file