Only plain String Comparison may not help you for what you are planning to achieve.
Below link has a information on how you can identify content of the Two Files is same or not.
http://support.microsoft.com/kb/320348
In case, if their is a difference in the content of the Files, then you will have to write custom algorithm to identify those differences.