def get_classes(classes_path):
    """
    Reads the class names from a file and returns them in a list.

    Parameters
    ----------
    classes_path : string
        Path that points to where the class name information is stored.

    Returns
    -------
    class_names : list
        A list of format:
        ['class_1', 'class_2', 'class_3', ...]
    """
    with open(classes_path) as f:
        class_names = f.readlines()
    class_names = [c.strip() for c in class_names]
    return class_names