The original file is not altered, but an encrypted file is created in the same folder as the original. The new file's name has the trailing dot turned into an underscore, and the suffix ".enc" appended. Thus, the file readme.txt will be encrypted to readme_txt.enc.
The encrypted file is not altered, but a decrypted file is created in the same folder as the original.