You can easily compare your local file in Visual Studio to what is currently stored in CRM by using the following context menu item:
Pressing the button downloads the file from CRM and stores it in the temp folder. Visual Studio then opens up the compare window as shown here:
Only the following file types are valid for comparison: