added back option to set hostnames in a file