def _read(filename, ftp_params=None):
    response = ""

    if not ftp_params:
        with open(filename, "rb") as f:
            response = f.read()
    else:
        with BytesIO() as r:
            ftp = get_ftp(ftp_params)
            ftp.retrbinary(filename % 'RETR %s', r.write)
            close_ftp_conn(ftp, ftp_params)
            r.seek(0)
            response = r.read()

    return response
dataset/ETHPy150Open Starou/SimpleIDML/src/simple_idml/indesign/indesign.py/_read/swapped operands of `%`