def get_labels_auto(file_list, seperator = '_'):
    """
    If files are labelled in this format:
    Name_Yead_{LABEL}.ply where {LABEL} is the label or Folder_Name/{LABEL}.ply

    This function will return the {LABEL} from the filename
    """
    label_list = []
    for file in file_list:
        print(file)
        last_occurence = file.rfind(seperator)+1
        folder = file.rfind('/')+1
        extension = file.rfind('.')

        if folder > last_occurence:
            label = file[folder:extension]
        else:
            label = file[last_occurence:extension]
        print(label)
        label_list.append(label)
    return label_list