TEZ-983. Support a helper function to extract required additional tokens from a file. (hitesh)