def read_document(doc):
    """Parse document, extract meta data and content."""
    document = doc.split('\n\n', 1)
    metadata = document[0]
    content = document[1].lstrip()
    return metadata, content