rest file upload and download service