adding a text file exporter