Change the FILENAME parameter to your encrypted text, and let the script find out the used encryption keyword as well as the decrypted plaintext, exported to seperate files.
Can be run either as .py or .ipynb.
An example encrypted file ciphertext583463.txt is added for demo-purposes.