How to add tags from text files