The film is an adaptation of the 2009 novel by Peter Rock of the same name.

Casey Affleck is set to topline Debra Granik’s film adaptation of the 2009 novel by Peter Rock “My Abandonment,” according to The Tracking Board.

Inspired by a true story, the film will center around Caroline, a thirteen-year-old girl and her father who live in Forest Park, an enormous nature preserve in Portland, Oregon. Living in the an elaborate cave shelter, they bathe in a nearby creek, store perishables at the water’s edge, use a makeshift septic system, tend a garden, even keep a library of sorts. Once a week they go buy groceries and blend in with the civilized world. Their whole world turns upside down when a jogger discovers where they live and Caroline is torn between her loyalty to her father and the possibility of a new and normal life.

Granik will direct and co-write the script with Anne Rosellini. Rossellini is producing with Linda Reisman and Anne Harrison of ReVision Films. Affleck is the first actor cast for the film.

READ MORE: Kenneth Lonergan’s ‘Manchester by the Sea’ Takes Sundance by Storm

Affleck was last seen in the crime thriller “Triple 9” and can be seen next in the drama “Manchester by the Sea,” about an uncle who is forced to take care of his teenage nephew after the boy’s father dies, out November 18.

Granik is known for her 2010 film “Winter’s Bone” starring Jennifer Lawrence. The drama was an adaptation of Daniel Woodrell’s 2006 novel of the same name. The project earned Lawrence her first Oscar nomination, received a Best Picture and Best Adapted Screenplay nomination and won several awards including the Grand Jury Prize: Dramatic Film at the 2010 Sundance Film Festival.

Stay on top of the latest breaking film and TV news! Sign up for our Email Newsletters here.

Sign Up: Stay on top of the latest breaking film and TV news! Sign up for our Email Newsletters here.