title: AWS S3 find files by name
body: <p>I'm really suprised that there is no easy way to scan all of files in S3 via <code>aws-sdk</code> node package and find some file by his name or some regex.</p>
  
  <p>Here is an example of folder structure:</p>
  
  <pre><code>- mainDirectory
  
      - directoryOne
          (...)
          - file1.png
          - file2.png
          (...)
  
      - directoryTwo
          (...)
          - file11.png
          - file22.png
          ( ...)
  
      - directoryThree
          (...)
          - file111.png
          - file222.png
          (...)
  </code></pre>
  
  <p>Is there any option to use <code>Delimiter</code> or <code>Prefix</code> in that way to list files from EVERY directory named <code>file(...)</code>?</p>
  
  <p>Tried this:</p>
  
  <pre><code>const params = {
      Bucket: process.env.AWS_S3_BUCKET,
      Delimiter: '/',
      Prefix: 'file'
  };
  </code></pre>