open(my $fh, ">", $ichs_logs) or die "Can't open $ichs_logs: $!";