added Scanner.close()
small update for String scanning
added exception for command argument error
fixed: argumentException cancels file close