class PropertiesUtil {

    private PropertiesUtil() {}

    public static Properties loadProperties(Logger logger, File configFile) {<FILL_FUNCTION_BODY>}
    
    public static <T> void configureParams(T instance, Properties properties, InjectorProxy injectorProxy) {
        requireNonNull(instance);
        requireNonNull(properties);
        requireNonNull(injectorProxy);

        traverseFields(instance.getClass())
            .filter(f -> f.isAnnotationPresent(Config.class))
            .forEach(f -> configure(instance, properties, injectorProxy, f));
    }

    private static <T> void configure(T instance, Properties properties, InjectorProxy injectorProxy, Field f) {
        final Config config = f.getAnnotation(Config.class);

        final String serialized;
        if (properties.containsKey(config.name())) {
            serialized = properties.getProperty(config.name());
        } else {
            serialized = config.value();
        }

        trySetField(instance, f, serialized, injectorProxy, config);
    }

    private static <T> void trySetField(T instance, Field f, String serialized, InjectorProxy injectorProxy, Config config) {
        ReflectionUtil.parse(f.getType(), serialized)
            .ifPresent(object -> {
                try {
                    injectorProxy.set(f, instance, object);
                } catch (final ReflectiveOperationException ex) {
                    throw new InjectorException(
                        "Failed to set config parameter '" + config.name() +
                            "' in class '" + instance.getClass().getName() +
                            "'.", ex
                    );
                }
            });
    }

}

        final Properties properties = new Properties();
        if (configFile.exists() && configFile.canRead()) {

            try (final InputStream in = new FileInputStream(configFile)) {
                properties.load(in);
            } catch (final IOException ex) {
                final String err = "Error loading default settings from " + configFile.getAbsolutePath() + "-file.";
                logger.error(ex, err);
                throw new InjectorException(err, ex);
            }
        } else {
            logger.info(
                "No configuration file '"
                + configFile.getAbsolutePath() + "' found."
            );
        }

        return properties;
    
<no_super_class>