Added helper to check if two folders have the same content