accept directory as first arg / also inspect node itself