The Machinist is a 2004 psychological thriller film directed by Brad Anderson and written by Scott Kosar. It stars Christian Bale as the title character, a machinist struggling with paranoia, and delusion after being unable to sleep for an entire year. Jennifer Jason Leigh, Aitana Sánchez-Gijón, John Sharian, and Michael Ironside appear in supporting roles. The film drew attention due to Bale's commitment, having lost in preparation for his role. Upon release, The Machinist was well received by critics, with praise for Bale's performance, and grossed $8.2 million on a $5 million budget. In later years it has gained a cult status. Plot Trevor Reznik is a machinist whose insomnia has led to him becoming emaciated. His appearance and behavior keep his coworkers away, and they eventually turn against him when he is involved in an accident, which causes his coworker, Miller, to lose his left arm. Trevor, who was distracted by an unfamiliar coworker named Ivan, is blamed for the accident. No one at the factory knows of Ivan and there are no records of him. Trevor seems to find comfort in the arms of Stevie, a prostitute with genuine affection for him, and with Maria, a waitress at an airport diner he frequents. He is haunted by brief flashes of recurring imagery, and things such as his car cigarette lighter take on a menacing air. A mysterious series of post-it notes appear on his refrigerator, depicting a game of hangman. These vague incidents send him further into paranoia, but he nonetheless attempts to establish a relationship with Maria. Meeting her at an amusement park, Trevor goes with her son Nicholas on a dark ride called "Route 666". The ride starts as a harmless scare ride, but begins to show increasingly disturbing images as it advances, until its flashing lights cause Nicholas to suffer an epileptic seizure. No longer able to think clearly, Trevor suspects that the bizarre events are a concerted effort to drive him insane, as do recurring clues such as a photo of Ivan fishing with Trevor's coworker Reynolds, which he discovers in Ivan's wallet when Ivan leaves it unattended in a pub. Another near-accident at work causes Trevor to lash out in rage at his coworkers; as a result, he is immediately fired. Increasingly distracted and alienated, Trevor forgets to pay his utility bills and his electricity is disconnected. A dark, viscous liquid begins trickling