The Machinist is a 2004 psychological thriller film directed by Brad Anderson and written by Scott Kosar. The film stars Christian Bale and features Jennifer Jason Leigh, Aitana Sánchez-Gijón, John Sharian, and Michael Ironside in supporting roles. The film is about Trevor Reznik (Bale), a machinist whose insomnia and psychological problems lead to a serious workplace accident involving a co-worker (Ironside). After Reznik is fired, he goes into a downward spiral of paranoia and delusion. The film was well-received by critics, particularly for Bale's performance. It is an international co-production of Spain, the United Kingdom, France and the United States.