def METHOD_NAME(self, data):
    """write data into file"""
    reveal = self.kwargs.get("reveal", False)
    target_name = self.kwargs.get("target_name", None)
    if reveal:
        self.fp.METHOD_NAME(self.revealer.reveal_raw(data))
    else:
        self.fp.METHOD_NAME(self.revealer.compile_raw(data, target_name=target_name))