Magic is a 1978 American psychological horror film directed by Richard Attenborough and starring Anthony Hopkins, AnnMargret and Burgess Meredith. The screenplay was by William Goldman, who also wrote the novel upon which it was based.
His powerful agent Ben Greene is on the verge of signing Corky for his own television show, but Corky bails out for the Catskills, where he grew up, claiming to be afraid of success. In truth, he does not want to take the TV networks required medical examination because doctors might find out that he suffers from severe issues, and that even offstage he cannot control Fats a manifestation of Corkys id.In the Catskills, he reunites with his highschool crush, Peggy Ann Snow, who is stuck in a passionless marriage with Corkys friend from high school, Duke. A magic trick with a deck of cards charms Peg into thinking they are soulmates. She and Corky make love, which sparks the jealousy not only of Peggys toughguy husband but also the dummy Fats. ........
Source: Wikipedia