I tried first to compare binary files believing that it would anyway detect a basic difference but
you function is not made for this I guess.
No returned argument will help to know if a main difference has been found between bin files.

Could it be possible to return a new argument covering differs or equal when
for either binary or text files ?