def METHOD_NAME(file_name):
  of = open(file_name, "r")
  start  = False
  start_T=False
  start_L=False
  start_S=False
  T=[]
  L=[]
  S=[]
  for l in of.readlines():
    l=l.strip()
    if(l.count("TLS BUILT FROM THE BASE ELEMENTS")):
      start=True
    if(start):
      if(l.startswith("matrix T")):
        start_T=True
      if(l.startswith("matrix L")):
        start_L=True
      if(l.startswith("matrix S")):
        start_S=True
    if(start_T and len(l.split())==3):
      if(len(T)<3): T.append(l)
      else:         start_T=False
    if(start_L and len(l.split())==3):
      if(len(L)<3): L.append(l)
      else:         start_L=False
    if(start_S and len(l.split())==3):
      if(len(S)<3): S.append(l)
      else:         start_S=False
  of.close()
  def convert(m):
    return matrix.sqr([
      float(m[0].split()[0]), float(m[0].split()[1]), float(m[0].split()[2]),
      float(m[1].split()[0]), float(m[1].split()[1]), float(m[1].split()[2]),
      float(m[2].split()[0]), float(m[2].split()[1]), float(m[2].split()[2])
    ])
  T = convert(T)
  L = convert(L)
  S = convert(S)
  return T, L, S