my @new_files = grep $_ =~ /^xxxx/, @files;