in the following example we will not be reading from a file, but exporting/saving our results into a text file:

nmap -oN output.txt 192.168.8.110

Nmap has the ability to export files into XML format as well, see the next example:

nmap -oX output.xml 192.168.8.110