open INPUT, $inputfile or die "Can't open $inputfile for reading: $!";