Retrieve BrightScript files from URL

Lets say I want to edit a BrightScript at any time without publishing roku updates.

I have this file
“config.brs”

I would like to upload this file to a webserver and have it hosted remotely. 
The Roku app would then have to request the following 
https://exampledomain.com/directory/config.brs

If possible, how could I implement this into the app?

Seeking an example, strictly for .brs not json or xml if possible please.