Added relative path generation for Directory