title: how to convert URI to File Android 10
body: <p>how to get file object from URI OR convert URI to file object in android 10 and above versions.</p>
  <pre><code> final File file = new File(Environment.getExternalStorageDirectory(), &quot;read.me&quot;);
   Uri uri = Uri.fromFile(file);
  </code></pre>