'Return the in-memory version of the shed_tool_conf file, which is stored in
the config_elems entry in the shed_tool_conf_dict associated with the file.'

def get_shed_tool_conf_dict(self, shed_tool_conf):

    for shed_tool_conf_dict in self.app.toolbox.dynamic_confs(include_migrated_tool_conf=True):
        if (shed_tool_conf == shed_tool_conf_dict['config_filename']):
            return shed_tool_conf_dict
        else:
            file_name = basic_util.strip_path(shed_tool_conf_dict['config_filename'])
            if (shed_tool_conf == file_name):
                return shed_tool_conf_dict
