Fixing getCatPages method from parseFileTree
Updating utils getPathToPage considering new parseFileTree output structure