i wonder if this should be `bytestring(data)` (and `bytestring(filename)`)