I have a plist file with many nested dictionaries inside of it, and I wanna fetch them all to my code. Isn't there any more efficient way to do that than nested for-loops?

```
NSArray * keys = [plistDictionary allKeys];
for (NSString * key in keys) {
    // Level 1
    NSLog(@"%@", key );

    BOOL isDictionary = [[plistDictionary objectForKey:key] isKindOfClass:[NSDictionary class]];
    if (isDictionary) {
        NSArray * keys2 = [[plistDictionary objectForKey:key] allKeys];
        for (NSString * key2 in keys2) {
            // Level 2
            NSLog(@"%@ : %@", key, key2 );

            BOOL isDictionary = [[[plistDictionary objectForKey:key] objectForKey:key2] isKindOfClass:[NSDictionary class]];
            if (isDictionary) {
                // Level 3
                NSArray *keys3 = [[[plistDictionary objectForKey:key] objectForKey:key2] allKeys];
                for (NSString *key3 in keys3) {
                    NSLog(@"%@ : %@ : %@", key, key2, key3 );

                    BOOL isDictionary = [[[[plistDictionary objectForKey:key] objectForKey:key2] objectForKey:key3] isKindOfClass:[NSDictionary class]];
                    if (isDictionary) {
                        // Level 4
                        NSArray *keys4 = [[[[plistDictionary objectForKey:key] objectForKey:key2] objectForKey:key3] allKeys];
                        for (NSString * key4 in keys4) {
                            NSLog(@ "%@ : %@ : %@ : %@",key, key2, key3, key4 );

                            BOOL isDictionary = [[[[[plistDictionary objectForKey:key] objectForKey:key2] objectForKey:key3] objectForKey:key4] isKindOfClass:[NSDictionary class]];
                            if (isDictionary) {
                                // Level 5
                                NSArray * keys5 = [[[[[plistDictionary objectForKey:key] objectForKey:key2] objectForKey:key3] objectForKey:key4] allKeys];
                                for (NSString * key5 in keys5) {
                                    NSLog(@"%@ : %@ : %@ : %@ : %@", key, key2, key3, key4, key5);
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}

```