Resource probe util.
Add a file close at the end to be explicit.
Merge pull request #1737 from edwardhunter/probe_rebase

CIDEVSTC-69	Integrate and test with production environment