The Usual Suspects
The film's premise is heavily based on "The Usual Suspects", right down to the twist.