The shortcut Command Shift J reveals the file that is currently open in the focused editor, in the project navigator.