title: How to get file from URI | Expo | React Native
body: <p>I have ejected project of the expo.</p>
  
  <p>After changing <strong>info.plist</strong>, now I am able to get my app in the list of "open with app list" and actually able to open that file with my expo(React native app). </p>
  
  <p>App.js </p>
  
  <pre><code>Linking.getInitialURL().then((url) =&gt; {
    if (url) {
          console.log(url);
      }
  
  }).catch(err =&gt; console.error('An error occurred', err));
  </code></pre>
  
  <p>this code is giving me this URL. </p>
  
  <pre><code>file:///private/var/mobile/Containers/Data/Application/7E55EB55-7C49-4C0C-B4CB-63AC4F49689E/Documents/Inbox/matters-3.csv
  </code></pre>
  
  <p>So, that means now I have URL of the email attachment, but How am I able to get the data of that csv string in my app?</p>
  
  <p>So I am assuming, when I click open with my app. The URL that is passed into my app from the system is actually a copy of the document that is placed somewhere in our app’s directory.</p>
  
  <p>But when I trying to access this file with Expo.FileSystem. readAsStringAsync it's giving me an error says, the file is not readable.</p>
  
  <p><strong>is there anything to do with storage permission?</strong></p>
  
  <p>Need Help....?</p>