def read_classes(classes_path):
    """Reads classes from file.
    
    Args:
        classes_path (str):
            Path to file containing names of all classes.
    
    Returns:
        list: List containing names of all classes.
    """
    with open(classes_path) as f:
        class_names = f.readlines()
    class_names = [c.strip() for c in class_names]
    return class_names