add tag string to file data