<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def read_corpus(file_name):
 """ Read and return the data from a corpus json file. """

    with io.open(file_name, encoding='utf-8') as data_file:
        return yaml.load(data_file)