Handle subpaths