Brazil
In a dystopian, polluted, hyper-consumerist, overbearing bureaucratic totalitarian future somewhere in the 20th century, Sam Lowry is a low-level government employee who frequently dreams of himself as a winged warrior saving a damsel in distress. One day, shortly before Christmas, a fly becomes jammed in a teleprinter, which misprints a copy of an arrest warrant it was receiving. This leads to the arrest and death during interrogation of cobbler Archibald Buttle instead of renegade heating engineer and suspected terrorist Archibald Tuttle.
https://en.wikipedia.org/wiki/Brazil_(1985_film)