I don't get, where are you incrementing `line` so it eventually reachs the end or finds the command?