title: Getting "Could not find part of the path" error
body: <p>im working on a project and what i try to do is to delete the 
  files in my folder.</p>
  
  <p>but I get the error:</p>
  
  <p><code>Could not find part of the path.</code></p>
  
  <p>The problem is that the path have a ' which does make part of the path. Here is my code:</p>
  
  <pre><code>foreach (var a in attachments)
  {
      string[] files = System.IO.Directory.GetFiles(Server.MapPath("~/Files/'"+ a.FileName +"'"));
  
      foreach (string pathfile in files)
      {
          System.IO.File.Delete(pathfile);
      }
  }
  </code></pre>
  
  <p>the result path is this:</p>
  
  <blockquote>
    <p>'c:.....\Files\'14d75c4e-c25f-4288-9a75-08a359fe6d844.png'"</p>
  </blockquote>
  
  <p>How can I solve this?</p>