Rename files
Check if a tag already exists before putting it