For dir_work