title: Can't access file in the raw folder
body: <p>I'm new to Android development. I have a <code>test.txt</code> file in the <code>res\raw</code> folder. For some reason, I'm not able to access it. </p>
  
  <p>Here's the code I'm using just to test. How come <code>file.exists()</code> returns <code>false</code>? </p>
  
  <pre><code>final String path = "android.resource://" + getActivity().getPackageName() + "/raw/test.txt";
  final Uri uri = Uri.parse(path);
  
  final File file = new File(uri.getPath());
  boolean exists = file.exists(); // Returns false.
  </code></pre>
  
  <p>By the way, I need to get the <code>Uri</code> of the file. I need that in order to be able to use an existing function that accepts a <code>Uri</code> as an argument.</p>