How do you read the first main argument? why does the stream not close?