adding input paramter parsing, changing to passing paramter file