Yeah, the rewrite is total and I didn't want to 'destroy' the previous script before having your approval.
The only change in the python script is that the file names now start with ngsi9/ngsi10.