Export to text file is work