title: how to filter the extension in the files directory
body: <pre><code>foreach (new DirectoryIterator($tempFilesPath) as $fileData) 
  { 
  $fileName           = $fileData-&gt;getFileName();
  $fileModifiedTime   = $fileData-&gt;getMTime();
  }
  </code></pre>
  
  <p>that directory contains .exe, .site like files, so I am not getting filename?</p>