Added function to read hostnames from the config file

Signed-off-by: Meghana Madhusudhan <mmadhusu@redhat.com>