code: def read_credentials(fname):
      
      with open(fname, 'r') as f:
          username = f.readline().strip('\n')
          password = f.readline().strip('\n')
      return username, password
docs: read a simple text file from a private location to get
      username and password