Reduce nested directories by 1