presto-raptor-legacy/src/main/java/io/prestosql/plugin/raptor/legacy/backup/BackupManager.java/BackupManager/filesEqual
class BackupManager:    private static boolean filesEqual(File file1, File file2)
    {
        try {
            return Files.equal(file1, file2);
        }
        catch (IOException e) {
            throw new UncheckedIOException(e);
        }
    }