#the following is untested. my @local_files = grep /^$id.*?_arbv_/i, readdir LOCALDIR;