Export logged into csv