update to read other directories with dif path depth