Puoi usare glob() con le wildcards (*) per trovare in un array tutti i file, tipo "001*.jpg" .

Ciao