decode text files