def get_zipfile_comments(zip_file):
    """
    Get a dictionary of comments for each file in the zip as a dictionary
    in the form {}.
    """
    return {i.filename: i.comment.decode('utf-8') for i in zip_file.infolist()}