Module to provide a configuration hash with option to read from file.