open my $file, $inputFile or die "Could not open $inputFile: $!";