extract useful folders from mtz