finished processFolder method