added examples of how to run on whole directories to demo_dpitch2