Refactored to allow specifying a file on the command line to load for analysis.

Refactored to allow specifying a file on the command line to load for
analysis.