Make the input & script work for ncert_12th_phy_v2_toc.txt