parse folders