Second approach to directory addition.