Finish doc_tagger which loops through all txt files.