title: Best way to get a sub-path of a file
body: <p>I have two <code>File</code> objects:</p>
  
  <ol>
  <li>C:/basepath/</li>
  <li>C:/basepath/directory/file.txt</li>
  </ol>
  
  <p>Now I would like to subtract file 1 from file 2 so that I get <code>directory/file.txt</code>.<br/>
  I don't want to use <code>String.substring()</code> since file paths may differ from input. </p>