I am trying to make a python script that encodes any file into a txt file. So far I can encode an input file into a txt file that contains the original files name, content a