All the functions used in the program are commented out. The file requires text file as an input. The name format of the text file is "filename.txt". Make sure to mention the file format of the file else the code won't work. Make sure that the directory of the text file is the same as that of code otherwise mention the complete directory.