Add support for reading names file to NBNS script