def METHOD_NAME(annotations_file,
          scorer_pkl_file,
          output_scores_file):
    annotation_names_i, X_ni = read_annotations(annotations_file)
    with open(scorer_pkl_file, 'rb') as f:
        scorer_lambda = dill.load(f)
    score_n = scorer_lambda(annotation_names_i, X_ni)
    with h5py.File(output_scores_file, 'w') as f:
        scores_dset = f.create_dataset('data/scores', (len(score_n),), dtype='d')
        scores_dset[:] = score_n