tag mapping now held outside code in text mapping file and passed as parameter to PruneMinor