def load_login_file(fpath):
  """
  Load login name and password from file.
  """
  with open(fpath) as f:
    name = f.readline().rstrip('\n')
    passwd = f.readline().rstrip('\n')
  return name, passwd