private static void moveWithMD5Check(
      final File sourceFile, final File targetDir, final File targetFile) throws IOException {
    if (haveSameMD5(sourceFile, targetFile)) {
      org.apache.commons.io.FileUtils.forceDelete(sourceFile);
      LOGGER.info(
          "Deleted the file {} because it already exists in the target directory: {}",
          sourceFile.getName(),
          targetDir.getAbsolutePath());
    } else {
      renameWithMD5(sourceFile, targetDir);
    }
  }
Transfer bytes to human-readable string. Copy from <a
href="https://stackoverflow.com/a/3758880">stackoverflow</a>.
iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/utils/FileUtils.java