public static TomlConfigurationDefaultProvider fromFile(
      final CommandLine commandLine, final File configFile) {
    try {
      return new TomlConfigurationDefaultProvider(commandLine, new FileInputStream(configFile));
    } catch (final FileNotFoundException e) {
      throw new ParameterException(
          commandLine, "Unable to read TOML configuration, file not found.");
    }
  }
Creates a new TomlConfigurationDefaultProvider from a file.

@param commandLine the command line
@param configFile the configuration file
@return a new TomlConfigurationDefaultProvider
@throws ParameterException if the configuration file is not found
app/src/main/java/org/hyperledger/besu/cli/util/TomlConfigurationDefaultProvider.java