Fixed help for discovery module to list the correct type of nmap output

Fixed the discovery module file input to correctly close file handles and file path errors