checking samefiles