Simplified command line arguments.

Also read file from cache for performance enhancement