push @keepers, $file if $file=~/Something/ and -f $file and 3 == @{ [ do { my @a= (my $temp = do{local(*ARGV,$/)=[$file];<>}) =~ /\b(PASS|sweeps|Final)\b/g;my %b;undef @b{@a};keys %b } ] };