Initial check-in. Parsing input file.