Input file reading for lines 1-4