Added javadoc to getPath