When opening a source file in Visual Studio, if you want the solution explorer to reflect the location of the file ensure the appropriate option is set:
Tools > Options > Projects & Solutions > General
Set the Track Active Items in Solution Explorer option.
Alternatively if you’ve got ReSharper use Ctrl-Shift-T.