Added command line args and allow user to choose whether to monitor file