modify UriMappingBuilder to read all files under given directory