Altered code to search for domain content and print to .txt file.