checking nested dirs