open my $fds[$_], '<', "datafile$_" or die $!;