Add support for txt files

Encryption or Decryption with bug