private ProfilesConfigFile getProfilesConfigFile() {
        if (configFile == null) {
            synchronized (this) {
                if (configFile == null) {
                    try {
                        configFile = new ProfilesConfigFile(configFileLocationProvider.getLocation());
                    } catch (Exception e) {
                        throw new SdkClientException("Unable to load config file", e);
                    }
                }
            }
        }
        return configFile;
    }
Create an instance that loads the configuration from the given profile
name and config file location.

@param profileName The name of the profile.
@param configFileLocationProvider The provider to use to locate the
config file.
aws-java-sdk-core/src/main/java/com/amazonaws/monitoring/ProfileCsmConfigurationProvider.java