def read_summary(file_path):
    """
    Reads a title and purpose summary from a file.

    :param file_path: The file to read.
    :return: A string that contains everything before the Prerequisites section.
    """
    with open(file_path) as readme:
        summary = readme.read().split('## Prerequisites')[0]
    return summary