add file from url

added a function to be able to open files over the network