Refactor code to populate class decryption file.