title: Deleting particular files in a folder
body: <p>I have a database table with name of <strong>Added_images</strong>. My table contains a list of image names such as <strong>image-1.jpg, image-2.jpg, image-3.jpg, etc</strong>.</p>
  
  <p>I have a folder named <strong>images</strong>. It contains all uploaded images such as <strong>image-1.jpg, image-2.jpg, image-3.jpg,image-4.jpg, image-5.jpg</strong>, and <strong>image-6.jpg</strong>.</p>
  
  <p>I want to check every picture in the folder images against the table Added_images.  If the picture is in the table, I would like to keep it. Otherwise I would like to delete it. How can i achieve this?</p>