preventing tagging if file exists