Read the intput file and displaying it to the user