def parsing_name_file(filename):
    """
        Parse the name of the data file to extract l and set number.
    """
        
    str1 = filename.split("t")
    str2 = str1[1].split("l")
    str3 = str2[1].split(".")
    str4 = str3[0][1:]
    str5 = '0.'+ str4
    nset = int(str2[0])
    nl = float(str5)
    
    return nset, nl