Extended f1score tool to output data into a file