The Machinist
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.
Plot
Trevor Reznik is a machinist whose insomnia has led to his 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 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 finds comfort in the arms of Stevie, a prostitute, and with Maria, a waitress at an airport diner he frequents. He is haunted by flashes of recurring imagery, and things such as his car cigarette lighter take on a menacing air. A mysterious series of post-it notes appears on his refrigerator, depicting a game of hangman.