fix bug:compare file by chasing symbolic links.