added local counters to FileDriver.py