This modification seems to prevent the call to analysisLooper.printStats when running on a single file.