See the versioningWithRoi.py and compareDirectories2.py for most recent changes, we are really close, there are some notes in compareDirectories2.py on what we need to do next.