compare by directory1