Text this: Relations among network coding, index coding, and guessing games: the linear case