File comparison algorithm, first check file size and then uses file comp built in function