ws-client.js: take arguments of files

- testing send file over the network to server and
  get the file back to the client.