control if data set directory exists