Question: What author provided a bases for one of James Garner's films?
Context: "Shady Deal at Sunny Acres", starring James Garner and Jack Kelly, remains one of the most famous and widely discussed episodes of the Western comedy television series "Maverick".  Written by series creator Roy Huggins (teleplay) and Douglas Heyes (story) and directed by Leslie H. Martinson, this 1958 second season episode depicts gambler Bret Maverick (James Garner) being swindled by a crooked banker (John Dehner) after depositing the proceeds from a late-night poker game.  He then surreptitiously recruits his brother Bart Maverick (Jack Kelly) and a host of other acquaintances to mount an elaborate sting operation to recover the money. The following is the filmography for American actor James Garner.  Garner was known for prominent roles in films such as "Sayonara" (1957) with Marlon Brando, "Cash McCall" (1960) with Natalie Wood, "The Great Escape" (1963) with Steve McQueen, "The Thrill of It All" (1963) with Doris Day, "Move Over, Darling" (1963) with Doris Day, "The Wheeler Dealers" (1963) with Lee Remick, Paddy Chayevsky's "The Americanization of Emily" (1964) with Julie Andrews, "Hour of the Gun" (1967), "Marlowe" (1969) with Bruce Lee, "Support Your Local Sheriff! " (1969) with Walter Brennan, "Murphy's Romance" (1985) with Sally Field, "Sunset" (1988) with Bruce Willis, "Maverick" (1994) with Mel Gibson and Jodie Foster, "Divine Secrets of the Ya-Ya Sisterhood" (2002), and "The Notebook" (2004) with Ryan Gosling and Rachel McAdams.  His television series credits include portraying Bret Maverick in "Maverick" (1957–1962) and "Bret Maverick" (1981–1982), Jim Rockford in "The Rockford Files" (1974–1980), and Jim Egan in "8 Simple Rules" (2003–2005). Why Freud Was Wrong: Sin, Science and Psychoanalysis (1995; second edition 1996; third edition 2005) is a book by Richard Webster, in which the author provided a critique of Sigmund Freud and psychoanalysis.  Webster argued that Freud became a kind of Messiah and that psychoanalysis is a pseudo-science and a disguised continuation of the Judaeo-Christian tradition.  Webster endorsed Gilbert Ryle's arguments against mentalist philosophies in "The Concept of Mind" (1949); he also criticized many other authors for their treatment of Freud and psychoanalysis.  The book for which Webster may be best remembered, "Why Freud Was Wrong" has been called "brilliant" and "definitive", but has also been criticized for shortcomings of scholarship and argument.  "Why Freud Was Wrong" formed part of the "Freud wars", an ongoing controversy around psychoanalysis. The Notebook is a 2004 American romantic drama film directed by Nick Cassavetes and based on the 1996 novel of the same name by Nicholas Sparks.  The film stars Ryan Gosling and Rachel McAdams as a young couple who fall in love in the 1940s.  Their story is narrated from the present day by an elderly man (portrayed by James Garner) telling the tale to a fellow nursing home resident (played by Gena Rowlands, who is Cassavetes's mother). The New Maverick is a 1978 made-for-TV movie based on the 1957 television series "Maverick", with James Garner as Bret Maverick, Charles Frank as newcomer cousin Ben Maverick (son of Beau Maverick), Jack Kelly as Bart Maverick, and Susan Sullivan as Poker Alice Ivers.  Garner had been 29 years old at the beginning of the original series and was 50 while filming "The New Maverick".  The TV-movie was a pilot for the series "Young Maverick", which featured Frank and only lasted a few episodes.  Directed by Hy Averback and written by Juanita Bartlett, the movie was filmed while Garner's series "The Rockford Files" was on hiatus.  Garner would later star in "Bret Maverick", another attempt at a television series revival inspired by this TV-movie, for the 1981-82 season. James Scott Rockford is a fictional character on the television series "The Rockford Files".  The character, played by James Garner, is a struggling private investigator operating in the greater Los Angeles area.  Rockford is the principal character of the series, and Garner was the only actor to appear in every episode of the series. Candles for Elizabeth (ISBN  ) is fantasist Caitlin R. Kiernan's first chapbook, released in 1998 by Meisha Merlin Publishing, shortly before the release of Kiernan's debut novel, "Silk".  It includes an introduction by Poppy Z. Brite.  The contents of this chapbook were later incorporated into Kiernan's first short-story collection, "Tales of Pain and Wonder".  The author provided afterwords for each story, discussing their inspiration.  According to an interview conducted by Jessa Crispin, the title is a reference to the suicide of Kiernan's close friend, Elizabeth Tillman Aldridge, in 1995.  Kiernan's "Alabaster", written in 2006, is dedicated to Aldridge as well.  These stories were later included in Kiernan's first short-fiction collection, "Tales of Pain and Wonder" (Gauntlet, 2000). Nichols (also known as James Garner as Nichols) is an American Western television series starring James Garner broadcast in the United States on NBC during the 1971-72 season.  Set in the fictional town of Nichols, Arizona, in 1914, "Nichols" differed from traditional Western series of the era.  The main character, a sheriff, rode on a motorcycle and in an automobile rather than on the traditional horse.  Nichols did not carry a firearm and was generally opposed to the use of violence to solve problems, preferring other means.  Margot Kidder portrayed Ruth, his love interest and a barmaid at Salters. The following is an episode list for ABC's 1957 comedy-western television series, "Maverick", created by Roy Huggins and starring James Garner, Jack Kelly, Roger Moore, and Robert Colbert as Bret, Bart, Beau, and Brent Maverick respectively.  Unusually for an American television program, "Maverick"<nowiki>'s</nowiki> main cast varied episodically between Garner, Kelly, Moore or Colbert.  As such, the starring cast for each episode is listed below alongside other details.  Most episodes feature only one of the lead characters named Maverick and never more than two. They Only Kill Their Masters is a 1972 mystery film starring James Garner and Katharine Ross, with a supporting cast featuring Hal Holbrook, June Allyson, Tom Ewell, Peter Lawford, Edmond O'Brien, and Arthur O'Connell.  The title refers to Doberman dogs that might have been responsible for a woman's murder currently under investigation by the local police chief (Garner).  The film was written by Lane Slate and directed by James Goldstone.
Answer: Nicholas Sparks