Michael Cohen revealed in court he’s done legal work for the Fox News host.