foreach my $file ( grep { -f $_ } @files )