The reason for changing a file could be unauthorized access or malware. One way to compare the change in files is through hashing (MD5).