    string and `lines` is a list of bytes objects.
        If `file` is a file-like object, it must be open in binary mode.
        N