some directory maint.
use of dir