Write trading data to file for every parameter set during an mt5 optimization?

 

Hello.

I am trying to get my EA to write data to a file during optimization, however while optimizing it only writes the data of a single parameter set within the optimization. 

Is it possible to write data from all parameter sets within the optimization simultaneously?

Files:
Reason: