title: Android/Kotlin read file using Java.io.File : path trouble
body: <p>I am trying to develop my first app on android using Kotlin. For the moment I try to read a file located in my android project.
  I have the following architecture under my "Java" folder :</p>
  
  <pre><code>/java/example.first.com.monapp/controller/FirstActivity.kt
  /java/example.first.com.monapp/controller/WelcomeActivity.kt
  /java/example.first.com.monapp/model/words.kt
  /java/example.first.com.monapp/model/wordsData
  </code></pre>
  
  <p>wordsData is a text file with raw data (3 words per line separated by a ";")</p>
  
  <p>The code in words.kt is :</p>
  
  <pre><code>package example.first.com.monapp.model
  
  import java.io.File
  
  data class Word(val wordFr:String, val wordRu:String, val active:Boolean)
  
  fun readFileKotlin(): List&lt;Word&gt; {
  
      val fileToRead="wordsData"
      val wordList = mutableListOf&lt;Word&gt;()
      var reader= File(fileToRead).readLines()
      var wrdLst:List&lt;Word&gt;
  
      for (line in reader) {
          val wrdProperties = line.split(";")
          wordList.add(Word(wrdProperties[0], wrdProperties[1], wrdProperties[2].toBoolean()))
      }
      wrdLst=wordList
      return wrdLst
  }
  </code></pre>
  
  <p>I call the readFileKotlin function during the creation of my activity but I continuously get the "java.io.FileNotFoundException" No such file or directory error.</p>
  
  <p>I tried several variant to the path such as</p>
  
  <pre><code>val fileToRead="model/wordsData"
  </code></pre>
  
  <p>or</p>
  
  <pre><code>val fileToRead="/java/example.first.com.monapp/model/"
  </code></pre>
  
  <p>or</p>
  
  <pre><code>val fileToRead="/java/example/first/com/monapp/model/"
  </code></pre>
  
  <p>but none of this works.</p>
  
  <p>What am I doing wrong ?</p>
  
  <p>Thanks in advance !</p>