title: How to write path to go one level up and then down into another directory
body: <p>I'm trying to open a file in a <code>Java</code> program (say <code>Program.java</code>) using relative path.</p>
  
  <p>I have two directories as follows:</p>
  
  <pre><code>ProjectWork\Business\Scenarios\SC01.txt
  ProjectWork\SourceCode\Program.java
  </code></pre>
  
  <p>Now, from <code>Program.java</code>, I want to write a relative path to access <code>SC01.txt</code>:</p>
  
  <pre><code>String path = // &lt;-- not sure how to write the path
  File scenario = new File (path);
  </code></pre>
  
  <p>The path has to be such that I go one level up to the <code>ProjectWork</code> directory and then navigate to <code>Scenarios\SC01.txt</code>.</p>