Scraper loops and writes to a file.