got rid of -Woverloaded-virtual warning
error handling for tagfile generating/reading