title: FileNotFoundException with absolute path
body: <p>I have a directory like this:</p>
  
  <pre><code>assigment
   |
   |__ src
   |   |
   |   |__ Main.scala
   |
   |
   |__ testcase
       |
       |__ Simple.in
  </code></pre>
  
  <p>In <strong>Main.scala</strong>, <strong>Simple.in</strong> is read by <code>Source.fromFile()</code>:</p>
  
  <pre><code>val inputFile = "Simple.in"
  val lines = Source.fromFile("./testcase/" + inputFile).getLines
  </code></pre>
  
  <p>But when I run <strong>Main.scala</strong> in <code>sbt</code> the <code>FileNoutFoundException</code> appear. When I change the path to <code>"../testcase/" + inputFile</code> then it works fine. The original path is from my teacher, so I wonder which path is actually correct? Oh, I'm using Linux btw... </p>