def load_config_file(file_path, root)

        conf_location = if file_path.present? && File.exist?(file_path)
          file_path
        else
          config_exists('.maximus.yml', root) || config_exists('maximus.yml', root) || config_exists('config/maximus.yml', root)
        end

        return {} if conf_location.is_a?(FalseClass)

        yaml = YAML.load_file conf_location
        yaml = {} if yaml.blank?
        yaml.symbolize_keys

      end
def load_config_file(file_path, root)

        conf_location = if file_path.present? && File.exist?(file_path)
          file_path
        else
          config_exists('.maximus.yml', root) || config_exists('maximus.yml', root) || config_exists('config/maximus.yml', root)
        end

        return {} if conf_location.is_a?(FalseClass)

        yaml = YAML.load_file conf_location
        yaml = {} if yaml.blank?
        yaml.symbolize_keys

      end
Look for a maximus config file

 Checks ./maximus.yml, ./.maximus.yml, ./config/maximus.yml in order.
   If there hasn't been a file discovered yet, checks ./config/maximus.yml
   and if there still isn't a file, load the default one included with the
   maximus gem.

 @since 0.1.4
 @param file_path [String]
 @param root [String] file path to root directory
 @return @settings [Hash]