Dead Again (1991)
Dead Again is a 1991 psychological thriller/neo-noir written by Scott Frank and directed by Kenneth Branagh. It stars Branagh and his then-wife Emma Thompson, and co-stars Andy GarcĂa, Derek Jacobi, Wayne Knight, and Robin Williams.
More at Wikipedia.