<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def load_soups(config):
 """Generate BeautifulSoup AST for each page listed in config."""

  soups = {}
  for page, path in config['sources'].items():
    with open(path, 'r') as orig_file:
      soups[page] = beautiful_soup(orig_file.read(), features='html.parser')
  return soups