with open token file