 SPOILER: There are several similarities to the  Alexandre Dumas père (qv) novel, "The Count of Monte Cristo"  (which is also mentioned during the film). The Dumas novel involved  a man falsely imprisoned for a crime, who later makes a daring  escape. After escaping, he acquired hidden treasure which he learned  about in jail, and executed a plan of revenge against those who  imprisoned him.