changed function name  of:  dir-part()  to directory-of()

deprecated dir-part(), though its still usable for backwards compatibility