private void importJsonBlocks(final BesuController controller, final Path path)
        throws IOException {

      final JsonBlockImporter importer = parentCommand.jsonBlockImporterFactory.apply(controller);
      final String jsonData = Files.readString(path);
      importer.importChain(jsonData);
    }
blocks import sub-command

<p>Imports blocks from a file into the database
app/src/main/java/org/hyperledger/besu/cli/subcommands/blocks/BlocksSubCommand.java