Add root permission option to "Raed file" functionality

I have a task that reads a file and uses regex to to get some data, but the file is located in root directory. 

Adding option to access root files to read will help, right now i have to copy the file to sdcard and read it.

Plz add this functionality.