title: Delete all files in a certain directory that their names start with a certain string in node js
body: <p>I want to delete all files that there file names start with the same string in a certain directory, for example I have the following directory:</p>
  
  <pre><code>public/
        profile-photo-SDS@we3.png
        profile-photo-KLs@dh5.png
        profile-photo-LSd@sd0.png
        cover-photo-KAS@hu9.png
  </code></pre>
  
  <p>so I would like to apply a function to delete all the files that start with the string <code>profile-photo</code> to have at the end the following directory:</p>
  
  <pre><code>public/
        cover-photo-KAS@hu9.png
  </code></pre>
  
  <p>I am looking for function like this:</p>
  
  <pre><code>fs.unlink(path, prefix , (err) =&gt; {
  
  });
  </code></pre>