import json


def get_text(fname):
    """Get full text of a single paper"""
    with open(fname) as f:
        text = json.load(f)
    return (
        text['metadata']['title'] + '. ' +
        ' '.join(p['text'] for s in ['abstract', 'body_text'] for p in text[s])
    )