passing along basePath to append to rootPath