title: Android Studio keeps giving a file not found exception. Not sure why
body: <p>I'm making an Android app in Android Studio. I'm trying to get the app to load an .xlsx file. But whenever I do so it gives me a &quot;File not found&quot; exception.</p>
  <p>The file is stored in the folder that Android Studio itself created when i selected &quot;Directory&quot; and chose &quot;Assets&quot;. I selected the &quot;src/main/assets&quot; folder.</p>
  <p>In the screenshots below you can see the error I am getting, the folder structure, the code I use to call the file and a notification I noticed that pops up when debugging. I think the last picture with the notification may not be relevant for this error but I included it just in case it might be relevant.</p>
  <p>What have I tried so far?</p>
  <ul>
  <li>Testing with another file. So I have tested with filename and filename2. Respectively a .xlsx file and a .png file.</li>
  <li>I have restarted Android Studio.</li>
  <li>I have cleaned the project, clicked make project and rebuilt the project.</li>
  <li>I have tried renaming the file so it has all lower case letters.</li>
  </ul>
  <p>Any suggestions as to why my Android studio does not find this file?</p>
  <p><a href="https://i.stack.imgur.com/V7LOk.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/V7LOk.png" alt="enter image description here" /></a></p>
  <p><a href="https://i.stack.imgur.com/FHaAu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FHaAu.png" alt="enter image description here" /></a></p>
  <p><a href="https://i.stack.imgur.com/RYbLe.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RYbLe.png" alt="enter image description here" /></a></p>
  <p><a href="https://i.stack.imgur.com/HeyN1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HeyN1.png" alt="enter image description here" /></a></p>