graceland-platform/src/main/java/io/graceland/configuration/ConfigurationBinder.java
private Config buildFromFile(String possibleFilename) {
        File configFile = new File(possibleFilename);
        Preconditions.checkArgument(configFile.exists(), "File must exist at: " + configFile.getAbsolutePath());

        try {
            return new ConfigurationFactory<>(
                    configClass,
                    Validation.buildDefaultValidatorFactory().getValidator(),
                    Jackson.newObjectMapper(),
                    "graceland")
                    .build(configFile);

        } catch (Exception e) {
            String msg = "Unknown exception triggered when attempting to build config from file:" + "\n" +
                    "\t* Configuration Class: " + configClass.getCanonicalName() + "\n" +
                    "\t* File: " + configFile.getAbsolutePath();

            throw new RuntimeException(msg, e);
        }
    }
private Config buildFromFile(String possibleFilename) {
        File configFile = new File(possibleFilename);
        Preconditions.checkArgument(configFile.exists(), "File must exist at: " + configFile.getAbsolutePath());

        try {
            return new ConfigurationFactory<>(
                    configClass,
                    Validation.buildDefaultValidatorFactory().getValidator(),
                    Jackson.newObjectMapper(),
                    "graceland")
                    .build(configFile);

        } catch (Exception e) {
            String msg = "Unknown exception triggered when attempting to build config from file:" + "\n" +
                    "\t* Configuration Class: " + configClass.getCanonicalName() + "\n" +
                    "\t* File: " + configFile.getAbsolutePath();

            throw new RuntimeException(msg, e);
        }
    }
Builds a Configuration object from the file path given. It uses the {@link io.dropwizard.configuration.ConfigurationFactory}
to build the configuration.

@param possibleFilename The path to the configuration.
@return A configuration object loaded form the filename given.