now generating hosts file.