def load(fp):
    """Deserialize our domain-specific configuration file."""
    obj = {}
    for line in fp:
        line = line.strip()
        if not line or line.startswith('#'):
            continue
        try:
            key, value = map(str.strip, line.split(' ', 1))
        except ValueError:
            key = line
            value = ''
        try:
            value = int(value)
        except ValueError:
            pass
        obj[key] = value
    return obj