XML generation in a separate function
add CSV report (unused for now)
add COUNTER-Format and handle unsuported cases