code: public static Collection<Token<? extends TokenIdentifier>> readTokensFromFile(Path tokenFilePath,
        Configuration configuration) throws IOException {
      return Credentials.readTokenStorageFile(tokenFilePath, configuration).getAllTokens();
    }
docs: Read a collection {@link Token}s from a given file.
  
  @param tokenFilePath the token file path
  @param configuration a {@link Configuration} object carrying Hadoop configuration properties
  @return a collection of {@link Token}s
  @throws IOException