file = open(input("FileName"),'r',encoding=input("Encodeing")).read() for i in file: