batch folder processing