delegated url generator to a directory