Extracted a class for the resolution of configuration files over FS or classpath.