Read all files of `folder` and return a list of HandwrittenData
    objects.

    Parameters
    ----------
    folder : string
        Path to a folder

    Returns
    -------
    list :
        A list of all .ink files in the given folder.

def read_folder(folder):
    """Read all files of `folder` and return a list of HandwrittenData
    objects.

    Parameters
    ----------
    folder : string
        Path to a folder

    Returns
    -------
    list :
        A list of all .ink files in the given folder.
    """
    recordings = []
    for filename in glob.glob(os.path.join(folder, '*.ink')):
        recording = parse_scg_ink_file(filename)
        recordings.append(recording)
    return recordings