API 0.0.2: transfer file using bytes.