title: Java absolute file path not giving the desired path
body: <p>I have created a folder 'Maths' at /home/vamshi/Documents/Eval/Files/standard6/Maths/ and i have put some files in it.
  They are hello.txt, world.txt</p>
  
  <p>Now, i have used this java code to traverse the directory</p>
  
  <pre><code>    System.out.println("DIRECTORY PATH IS :"+path);
  
  
      File f = new File(path);
      System.out.println("DIRECTORY ABS PATH IS :"+f.getAbsolutePath());
      if( f.isDirectory() )
      {
          String[] subNote = f.list();
          for(String filename : subNote)
          {
                  File tempFile = new File(filename);
                  System.out.println("FILE PATH:"+tempFile.getAbsolutePath());
  
          }
      }
      else
      {
          System.out.println("Its not a directory!");
  
      }
  </code></pre>
  
  <p>Output is : </p>
  
  <p>DIRECTORY PATH IS :/home/vamshi/Documents/Eval/Files/standard6/Maths/</p>
  
  <p>DIRECTORY ABS PATH IS :/home/vamshi/Documents/Eval/Files/standard6/Maths</p>
  
  <p>FILE PATH:/home/vamshi/workspaceNew/Server/GUI_Version_Netbeans/server/hello.txt</p>
  
  <p>FILE PATH:/home/vamshi/workspaceNew/Server/GUI_Version_Netbeans/server/world.txt</p>
  
  <p>How is this possible?
  How come the files inside Maths directory have the Netbeans project absolute path?</p>