def read_bearer_token_file(filename):
 f = open(filename)
 bearer_token = f.readline().strip()
 f.close()
 return bearer_token

def read_bearer_token_file ( filename ) : f = open ( filename ) bearer_token = f . readline ( ) . strip ( ) f . close ( ) return bearer_token
read a token file and return the oauth2 bearer token .