Added Argparse support

Added argparse implementation to handle command line arguments better
Better File IO

Added a step to check input file existence before commencing further
processing