open my $complist, '>' , $CompFiles or die "Can't open $CompFiles: $!\n";