code: def bytes(self):
          
          if self._filename:
              with open(self._filename, "rb") as f:
                  return f.read()
          else:
              return self._bytes
docs: Returns the provided data as bytes.