loadFile function

Load or download a file from a process and file name