export to txt implemented