new version with : better encoding, outputs in 2 csv