Generate txt version