title: Reading file from android Internal storage
body: <p>I have placed a file in <code>my Tablet\Tablet\Android\data\my.app.package\files\data</code> called <code>test.txt</code> with a few lines of text. This is reported by Windows.</p>
  
  <p>Kotlin is throwing an Exception (FileNotFound) and I have also tried specifying what I believe is the real path of the file, but cannot seem to get it using the following path: </p>
  
  <p><code>"/0/Android/data/my.app.package/files/data/test.txt"</code> (my app's data directory). This directory definitely exists as I can see it in device file managr. </p>
  
  <p>This file contains 2 lines of text, which I am trying to read in to run specific tasks based on their values. I've tried with a BufferedReader, but I'm getting FileNotFound Exception...</p>
  
  <p>This is my code:</p>
  
  <pre><code>fun readFile() {
      val yourFilePath = "/0/Android/data/my.app.package/files/data/test.txt"
      val yourFile = File(yourFilePath)
  
      print(yourFile.name)
      val file = File(yourFilePath)
      file.bufferedReader().forEachLine {
          println("value = $it")
      }
  
  }
  </code></pre>
  
  <p>Any help is highly appreciated. Thankyou!</p>