added url method to directory nodes