Added folder processing