Execute this script with a path to a valid pkg file and find out its internal name and version number.
This script was written to interrogate a package file for its internal file name and version number. This can be helpful when a package file no longer retains its original file name or outwardly identifies its version number.