added input file passing through command line arguments