read hostnames