looks like you dont have this file "chars.txt" , you need it to open it , if you dont have it you get an error . Its impotant to extract the files before running the script.

Hope this helps ...