Uniquify is an excellent Emacs package for looking at different files with the same name. Amazingly, it was written in 1986!