title: Can't access XML file in project directory
body: <p>Strange situation here and its driving me insane. I have a skeleton XML file in my project root directory and I want to read it into my program and modify it based on the users input. I'm getting a file not found exception and I can't understand why. My project is called customerCreator. The XML file is at:</p>
  
  <pre><code>C:\Users\user\Documents\NetBeansProjects\CustomerCreator\skeleton.xml
  </code></pre>
  
  <p>My Java source file is at:</p>
  
  <p>C:\Users\user\Documents\NetBeansProjects\CustomerCreator\src\java\org\user\r6CustomerCreator\parsers\XMLParser.java</p>
  
  <p>EDIT: Using the absolute filepath causes the follwing error: java.lang.IllegalArgumentException: InputStream cannot be null</p>
  
  <pre><code>public class XMLParser {
  
      public XMLParser(Map paramMap) {
          parseXML(paramMap);
      }
  
      private void parseXML(Map&lt;String, String&gt; paramMap) {
          DocumentBuilderFactory builderFactory = DocumentBuilderFactory.newInstance();
          DocumentBuilder builder = null;
          Document document = null;
  
              try {
                  builder = builderFactory.newDocumentBuilder();
              } catch (ParserConfigurationException e) {
                  e.printStackTrace();  
              }
  
              try {
                  document = builder.parse(new FileInputStream("skeleton.xml"));
              } catch (SAXException | IOException e) {
                  e.printStackTrace();
              }
  
          System.out.print(document);
      }
  
  }
  </code></pre>