directory items expected condition