write a function that takes an input filename and an output filename; the function reads the text from the input file, encodes the text using scramble2encrypt function discussed in chapter 6, and writes the encrypted text in the output file. suppose a file is encrypted using the scramble2encrypt function. write a function that takes an input filename and an output filename; the function reads the text from the input file, decodes the text using scramble2decrypt function discussed in chapter 6, and writes the decrypted text in the output file. your program should have a main function that prompts the user to enter an input filename, an output filename, and whether the user wants to encrypt or decrypt the input file; based on user choice, the main function calls the appropriate function. here are some runs: enter a source filename: infile.txt enter a target filename: outfile.txt enter e to encrypt or d to decrypt the input file: e done enter a source filename: infile.txt enter a target filename: outfile.txt enter e to encrypt or d to decrypt the input file: d done