title: Unable to create a file path in java
body: <p>I'm trying to save my file into a perticular directory. but i get the below Exception </p>
  
  <pre><code>Exception in thread "main" javax.xml.transform.TransformerException: java.io.FileNotFoundException: D:\News\nxis\NewFiles\I0cbf74105a2d11e5b730aca98fc673fd.nxi (The system cannot find the path specified)
      at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.getOutputHandler(Unknown Source)
      at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(Unknown Source)
      at org.NXI.CreateNxi.createFiles(CreateNxi.java:49)
      at org.NXI.GetInput.main(GetInput.java:24)
  Caused by: java.io.FileNotFoundException: D:\News\nxis\NewFiles\I0cbf74105a2d11e5b730aca98fc673fd.nxi (The system cannot find the path specified)
      at java.io.FileOutputStream.open(Native Method)
      at java.io.FileOutputStream.&lt;init&gt;(Unknown Source)
      at java.io.FileOutputStream.&lt;init&gt;(Unknown Source)
      ... 4 more
  ---------
  java.io.FileNotFoundException: D:\News\nxis\NewFiles\I0cbf74105a2d11e5b730aca98fc673fd.nxi (The system cannot find the path specified)
      at java.io.FileOutputStream.open(Native Method)
      at java.io.FileOutputStream.&lt;init&gt;(Unknown Source)
      at java.io.FileOutputStream.&lt;init&gt;(Unknown Source)
      at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.getOutputHandler(Unknown Source)
      at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(Unknown Source)
      at org.NXI.CreateNxi.createFiles(CreateNxi.java:49)
      at org.NXI.GetInput.main(GetInput.java:24)
  </code></pre>
  
  <p>Here the path that is available in real is </p>
  
  <pre><code>    String output = "D:\\News\\nxis\\" + replaceGuid + ".nxi";
  </code></pre>
  
  <p>But i'm trying to add a new folder inside it. I'm using the below command </p>
  
  <pre><code>    String output = "D:\\News\\nxis\\New Folder" + replaceGuid + ".nxi";
  </code></pre>
  
  <p>When i run my program with the second step. It throws me an error. please let me know how can i fix it.</p>
  
  <p>Thanks</p>