Fixing remove tags from file without any tags.