Although this question is quite dated: ManicTime added a Plugin Manager with version 3.1. This contains also a Visual Studio plugin (apart from many others) that tracks the file path in the Document timeline which should be exactly what you want.
The plugin should also exist in earlier versions, but I couldn't find out since when.