working comparing directories file