title: IWorkspaceRoot.getFileForLocation() returns null
body: <p>I want to obtain IFile handler for a file in one of my projects.</p>
  
  <p>I have a Java project "test" with "x.dioc" file inside. When I look in my local file system and check the file's path it's:<br>
  <i>C:\Users\Pawel\runtime-New_configuration\test\src\x.dioc</i></p>
  
  <p>Now, I try to get handler:</p>
  
  <p><code>IPath p = new Path("file:/C:/Users/Pawel/runtime-New_configuration/test/src/x.dioc");</code><br>
  <code>IFile sourceFile = ResourcesPlugin.getWorkspace().getRoot().getFileForLocation(p);</code></p>
  
  <p>but I get <code>null</code>.</p>
  
  <p>I've read that this method returns null if the file is not a part of the workspace. But when I browse "test" project in package explorer I can see "x.dioc" file there.</p>
  
  <p>What might be the cause?</p>