code: private static void loadConfig() throws FileNotFoundException, IOException {
          try (InputStream configStream = Thread.currentThread().getContextClassLoader().getResourceAsStream(CONFIG_FILE)) {
              if (configStream == null) {
                  throw new FileNotFoundException();
              }
  
              properties = new Properties();
              properties.load(configStream);
          }
  
          // Read properties
          accountId = properties.getProperty("customerAccountId");
          createS3Bucket = Boolean.valueOf(properties.getProperty("createS3Bucket"));
          s3RegionName = properties.getProperty("s3RegionName");
          s3BucketName = properties.getProperty("s3BucketName").trim();
          s3BucketARN = getBucketARN(s3BucketName);
          s3ObjectPrefix = properties.getProperty("s3ObjectPrefix").trim();
  
          String sizeInMBsProperty = properties.getProperty("destinationSizeInMBs");
          s3DestinationSizeInMBs = StringUtils.isNullOrEmpty(sizeInMBsProperty) ? null : Integer.parseInt(sizeInMBsProperty.trim());
          String intervalInSecondsProperty = properties.getProperty("destinationIntervalInSeconds");
          s3DestinationIntervalInSeconds = StringUtils.isNullOrEmpty(intervalInSecondsProperty) ? null : Integer.parseInt(intervalInSecondsProperty.trim());
  
          deliveryStreamName = properties.getProperty("deliveryStreamName");
          s3DestinationAWSKMSKeyId = properties.getProperty("destinationAWSKMSKeyId");
          firehoseRegion = properties.getProperty("firehoseRegion");
          iamRoleName = properties.getProperty("iamRoleName");
          iamRegion = properties.getProperty("iamRegion");
  
          // Update Delivery Stream Destination related properties
          enableUpdateDestination = Boolean.valueOf(properties.getProperty("updateDestination"));
          updateS3ObjectPrefix = properties.getProperty("updateS3ObjectPrefix").trim();
          String updateSizeInMBsProperty = properties.getProperty("updateSizeInMBs");
          updateSizeInMBs = StringUtils.isNullOrEmpty(updateSizeInMBsProperty) ? null : Integer.parseInt(updateSizeInMBsProperty.trim());
          String updateIntervalInSecondsProperty = properties.getProperty("updateIntervalInSeconds");
          updateIntervalInSeconds = StringUtils.isNullOrEmpty(updateIntervalInSecondsProperty) ? null : Integer.parseInt(updateIntervalInSecondsProperty.trim());
      }
docs: Load the input parameters from properties file.
  
  @throws FileNotFoundException
  @throws IOException