cmd line arg and opts, read from file