For comparing two files, this is a function developed in C.