extract each sub-folder fixes #164