now able to read a line and convert it to HostEntry