final_proj.pl add reading of file