support command argument for reading input from file