title: Error: ENOENT: no such file or directory, unlink
body: <p>As you can see, there is a file at the path. But fs says no such file or directory. I can't understand why?</p>
  
  <p>In another file, I can remove with the same code.</p>
  
  <p>My boat.js file: </p>
  
  <pre><code>boat.findById(req.params.id,function(err, foundBoat) {
      if(err){
          console.log(err);
      }else{
          foundBoat.boatsFoto.forEach(function(path){
              console.log(typeof(path));
              fs.unlink("../public"+path,function(err){
                  if(err) throw err;
  
                  console.log('File deleted!');
              });
          });
      } 
  });
  </code></pre>
  
  <p>And it is my error: </p>
  
  <pre><code>Error: ENOENT: no such file or directory, unlink '../public/uploads/akingokay/BoatsFoto/1524411110335kiralik-tekne.jpg'
  at Error (native)
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/xRjf0.png" rel="noreferrer">And you can see my file system</a></p>