Reading input file.