get the file from a server