Implementa output in CSV