Accessing files directly after asking for directory using ACTION_OPEN_DOCUMENT_TREE

I want the user to give me access to videos folder of his choice using ACTION_OPEN_DOCUMENT_TREE. Then, I want to detect subtitles file based on a video name. For videosample.mp4 I want to see if videosample.srt exists and then load it if it does. How do I detect the availability of the subtitles file(s) and how do I read it? Is it possible to read it using normal File class?

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum