added GET rpc to allow downloading of files