def read(texname):
  """
    A function to read the .tex file
    @ In, texname, str, LaTeX file name
    @ Out, filler_text, str, tex contents
  """
  with open(texname, 'r') as fd:
    filler_text = fd.read()
  return filler_text