fixed data collection strategy in formatter.py and included new output file