Take into account parent path