No, that's what I'm saying.
The above script gives me a single output file, Debug.csv.

I was expecting one file per asset, named something like this
ABBST_L_Debug.csv.
ALFAST_L_Debug.csv.
CASTST_L_Debug.csv