compare_file_contents function

Compare contents of two files and determine synchronization status