Use split instead of Scanner to parse line