How to access files located on a local server?

Dear all,

I am trying to convert my CEP extension to plugin, and i have needs to access to an xml file located on a local server.

In CEP extension it was

var XML file = new FIle(“/Volumes/Jobs/Some_folder/Test.jdf”)

XMLfile.open(‘r’);

and so on…

Is it possible and how to access files from a local server using UXP?