Added the untag function for the case when other files with the same tag remain, and its test.