The Cabinet of Dr. Caligari
(2005)

This is a shot-for-shot remake of the 1919 original, with one additional twist at the end: right after Francis' madness is revealed, we also see that Alan (Neil Hopkins) is the assistant to the Director of the asylum.

 Thanks Curt!