compare directory