Hi KezinDazel,
Can you please provide more details:
1) Is your goal to create a mobile app or website?
2) Is your file served from a web server?
Typically you can use an ajax call from javascript to fetch the file contents using a url. Please take a look at next xml example that shows how to access a file remotely from an app:
http://www.genuitec.com/support-genuitec/viewtopic.php?f=14&t=5738