def METHOD_NAME(self, state, record=None, ack=False, fname=None, checker=None):
    record = record or self.record
    checker = checker or self.checker
    if not fname:
        fname = self._filename(record, ack=ack)
    if state == "error-report":
        # Exception as we read from the same path but w/ error suffix
        state = "error"
        fname += ".error"
    return checker._get_remote_file_path(state, filename=fname).as_posix()