I'm looking for a file which name is like this string: `.047b2edb.ico` 

I am not sure how to add "`ico`" extension to my `preg_match` function.

```
[.a-zA-Z0-9]

```

Any suggestions would be appreciated

This is my whole code. With this code I can't find a file with name .62045303.ico where is the problem ?

```
<?php
$filepath = recursiveScan('/public_html/');

function recursiveScan($dir) {
    $tree = glob(rtrim($dir, '/') . '/*');
    if (is_array($tree)) {
        foreach($tree as $file) {
            if (is_dir($file)) {
                //echo $file . '<br/>';
                recursiveScan($file);
            } elseif (is_file($file)) {
               if (preg_match_all("(/[.a-zA-Z0-9]+\.ico/)", $file )) {
                   //echo $file . '<br/>';
                   unlink($file);
               }

            }
        }
    }
}
?>

```