get_named_dir Function.