simple DSL stats collector (save data into a CSV file)