get data from the right subdir