Let's always call batch processing functions "processDir".
Comments.
Batch processing interface moved inside the module.