Tried to write an hostname extraction methods tries to get rid of comment lines ...