Select file(s) in a directory based upon complex filename
<p>I have audio files in var/</p>

<p>This is the file name</p>

<p>2-3109999999-3246758493-1271129518-1271129505.6.wav</p>

<p>Format<br>
2=campaign id<br>
3109999999=caller id<br>
3246758493=number called<br>
1271129518=timestamp call ended<br>
1271129505=timestamp call started<br>
6=call id<br></p>

<p>If I were to pass just the number called which was 3246758493, how can I find all the files without defining all the other variables(such as timestamp, etc) and just the files that have that number in the filename?</p>
