def METHOD_NAME(mmw_config_path, profile):
    """Parses a configuration file
    Arguments
    :param mmw_config_path: Path to the config file
    :param profile: Config profile to read
    """
    mmw_config = configparser.ConfigParser()
    mmw_config.optionxform = str
    mmw_config.read(mmw_config_path)
    try:
        section = mmw_config.items(profile)
    except configparser.NoSectionError:
        sys.stderr.write('There is no section [{}] in the configuration '
                         'file\n'.format(profile))
        sys.stderr.write('you specified. Did you specify the correct file?')
        sys.exit(1)
    return {k: v.strip('"').strip("'") for k, v in section}