For two weeks, the sound of mortar fire, low flying helicopters and the risk of kidnapping left actor Sam Smith struggling to sleep for more than a few fitful hours a night.
"We were staying in a hotel where I had a door with a broken lock," he says about making a new Australian film secretly in Afghanistan. "I was sleeping fully clothed with my passport in my pocket, knife in my hand under my pillow and waking up to gunshots or mortar blasts.
"Then I'd sit staring at the door with the knife, waiting for morning prayer, because I knew people would be up and about then."
The risk of kidnapping while filming Jirga, a drama about a former Australian soldier who returns to Afghanistan to make amends to the family of a civilian he accidentally killed during a raid three years earlier, was real.
The day before Smith and director Benjamin Gilmour arrived in Jalalabad, Australian aid worker Kerry Wilson had been abducted by gunmen and spent four months as a hostage. Not long before, a suicide bombing at a bank killed 33.
The story about shooting Jirga is as dramatic as anything that will be on screen at the Sydney Film Festival next month.
During two months the filmmakers spent in Afghanistan in mid-2016 – taking advice to stay inside when the so-called fighting season made conditions too dangerous – Gilmour and Smith shot for roughly 20 days.
While they were in the city, one of their Afghani actors carried a handgun as security. When word spread that Gilmour wanted to shoot in the mountains, the Afghan police and army escorted them for a price.
One day, the duo abandoned shooting more scenes in a cave near Tora Bora after learning one of the local militant groups had planted an improvised explosive device overnight. Another time, Gilmour had to scatter when he noticed a military drone hovering five metres overhead.
"There are numerous Taliban groups operating in Afghanistan," he says. 'There are criminal groups that are masquerading as Taliban who are behind a lot of kidnappings for ransom. And there is ISIS. We were mainly worried about ISIS."
Gilmour is a thoughtful character with an idealistic streak: a paramedic whose first job out of high school in Sydney was working for Mother Teresa in Calcutta. He shot the the warm-hearted 2008 film Son of Lion, about a Pashtun boy who is desperate to go to school, in Pakistan's remote North-West Frontier.
Two years ago, he went back to Pakistan to shoot Jirga – the title refers to a Pashtun tribal council – figuring his cast and crew would be safer filming near the Khyber Pass than in Afghanistan. But the authorities withdrew their filming permission after reading the script – upset with the politics – which led to a Pakistani investor withdrawing his $US100,000 investment.
Stuck without a location, a crew and most of their funding, Gilmour approached his star about taking a risk.
As Smith says: "He said we can either go home with nothing or you and I can go to Afghanistan and rewrite the film together, cast people from the street and basically wing it. I was up for it."
The two travelled to Jalalabad to start making Jirga in secret. Having bought a camera so he could shoot the film himself, Gilmour employed trusted Afghans as crew and advisors. Having dealt with crises every day a paramedic, he calculated the risks hour by hour.
"You can't make a film about courage without having a level of courage yourself," he says. "And being a foreign soldier in Afghanistan is vastly more dangerous than being a filmmaker there."
Gilmour, who wants the film to inspire viewers to think differently about war, says Taliban snipers were worryingly close at times.
Festival director Nashen Moodley has selected Jirga in the competition for "audacious, cutting-edge and courageous" films.
"So many things went wrong that it probably shouldn't have been made at all," he says. "The funding falls through, you're in essentially a war zone, you're being told that Isis or the Taliban have observed you and may be looking to kidnap you.
"You should go home in most cases but Ben and Sam were so incredibly brave and they've made something really wonderful and really touching."
Audacious it is; courageous its makers certainly are.
SYDNEY FILM FESTIVAL HIGHLIGHTS
- The opening night film is the New Zealand comedy The Breaker-Upperers on June 6.
- Likely highlights include Wim Wenders' documentary Pope Francis: A Man Of His Word, Spike Lee's KKK comic drama BlacKkKlansman and gay conversion tale The Miseducation of Cameron Post.
- The inventive features include a Danish thriller set in one room (The Guilty) and a Chinese film assembled from real-life surveillance footage (Dragonfly Eyes).
- The festival closes with the American comedy Hearts Beat Loud on June 17.
Garry Maddox is a Senior Writer for The Sydney Morning Herald.
Morning & Afternoon Newsletter