download file from remote