parametrized rootPath