Question: Who was the writer of the  American action horror-thriller film which was directed by Adam Wingard?

Context paragraphs:
A Horrible Way to Die: A Horrible Way to Die is a 2010 American horror film written by Simon Barrett, directed by Adam Wingard, and produced by Travis Stevens, Simon Barrett, and Kim Sherman.  The film follows the journey of an escaped serial killer as he chases down his ex-girlfriend.  It had its world premiere at the 2010 Toronto International Film Festival Vanguard program where it was picked up for distribution by Anchor Bay Entertainment.  It also played at Fantastic Fest where it received three major awards: Best Screenplay for Simon Barrett, Best Actor for AJ Bowen and Best Actress for Amy Seimetz.

Into the Grizzly Maze: Into the Grizzly Maze (originally titled Red Machine, then changed to Endangered and later to Grizzly), is an American action horror-thriller film directed by David Hackl and written by J.R. Reher.  The film stars James Marsden, Thomas Jane, Billy Bob Thornton, Piper Perabo and Scott Glenn.  The film was released on May 19, 2015 on video on demand before a limited release on June 26, 2015.

The ABCs of Death: The ABCs of Death is a 2012 American anthology horror comedy film produced by international producers and directed by filmmakers from around the world.  The film contains 26 different shorts, each by different directors spanning fifteen countries, including Nacho Vigalondo, Kaare Andrews, Adam Wingard, Simon Barrett, Banjong Pisanthanakun, Ben Wheatley, Lee Hardcastle, Noboru Iguchi, Ti West, and Angela Bettis.

Autoerotic (film): Autoerotic is a 2011 comedy-drama film directed by Joe Swanberg and Adam Wingard, written by Swanberg, Wingard, and Simon Barrett, and starring Kate Lyn Sheil, Amy Seimetz, Lane Hughes, Kris Swanberg, Ti West, and Frank V. Ross.  IFC Midnight released it to video on demand on July 22, 2011.

Death Note (2017 film): Death Note is a 2017 American dark fantasy psychological thriller film loosely based on the Japanese manga of the same name created by Tsugumi Ohba and Takeshi Obata.  The film is directed by Adam Wingard and written by Charles Parlapanides, Vlas Parlapanides and Jeremy Slater.  The film stars Nat Wolff, Lakeith Stanfield, Margaret Qualley, Shea Whigham, Paul Nakauchi, Jason Liles and Willem Dafoe, and follows the story of a high school student named Light Turner, who finds a mysterious notebook known as "Death Note".  He soon meets the demonic death god Ryuk who teaches him how to use the notebook, and tells him that the book causes the death of anyone whose name is written within its pages.

Art History (film): Art History is a 2011 American drama film directed by Joe Swanberg, written by Swanberg, Josephine Decker, and Kent Osborne.  It stars Decker, Swanberg, Osborne, Adam Wingard, and Kris Swanberg as filmmakers whose lives are complicated by a graphic sex scene in an arthouse film.

The Guest (film): The Guest is a 2014 American action horror-thriller film directed and edited by Adam Wingard and written by Simon Barrett, both of whom previously collaborated on a previous film, "You're Next" (2011).  Starring Dan Stevens, Maika Monroe, Leland Orser, Sheila Kelley, Brendan Meyer, and Lance Reddick, the plot follows a soldier named "David" unexpectedly visiting the Peterson family, introducing himself as a friend of their son who had died during the Afghanistan war.  After the man is welcomed into their home for a couple of days, a series of deaths begin to occur around his presence, and their daughter Anna begins to have suspicions of David being connected to the deaths.

Blair Witch (film): Blair Witch is a 2016 American found footage supernatural horror film directed by Adam Wingard and written by Simon Barrett.  It is the third official film in the "Blair Witch" series and a direct sequel to the 1999 film "The Blair Witch Project", ignoring the events of its 2000 follow-up film "", given the events of that film being a film within a film.  "Blair Witch" stars James Allen McCune, Callie Hernandez, Brandon Scott, Corbin Reid, Wes Robinson, and Valorie Curry.  The film, shot in a found footage style, follows a group of college students and their local guides who venture into the Black Hills Forest in Maryland to uncover the mysteries surrounding the disappearance years ago of Heather Donahue, the sister of one of the characters.  Initially, the film's connection to the "Blair Witch" franchise was kept secret, with the film having been shot under the fake title, "The Woods".

Simon Barrett (filmmaker): Simon Barrett (born 1978) is an American actor, producer, and screenwriter known for his collaborations with Adam Wingard, including "A Horrible Way to Die", "V/H/S", "V/H/S/2", "You're Next", and "The Guest".  He is associated with the mumblegore movement and has worked with director Joe Swanberg several times.

What Fun We Were Having: What Fun We Were Having is a 2011 American thriller film directed by Adam Wingard.  It stars Hannah Hughes, AJ Bowen, Lane Hughes and Brandon Carroll.  Set in a small American town, the film contains four stories about sexual assault.  The film was written by Wingard, Simon Barrett and E. L. Katz.  It was produced by Snowford Pictures and runs 80 minutes.  It screened at the Fantasia Festival in 2011.

Supporting paragraphs: Simon Barrett (filmmaker) The Guest (film)
Answer: Simon Barrett