<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(ctx, input, output):
 """Read clusters from file and save to model file."""

    log.debug('chemdataextractor.cluster.load')
    import pickle
    click.echo('Reading %s' % input.name)
    clusters = {}
    for line in input.readlines():
        cluster, word, freq = line.split()
        clusters[word] = cluster
    pickle.dump(clusters, output, protocol=pickle.HIGHEST_PROTOCOL)