Adding sanity check before deleting tag file
Fixing issues with file cache engine and tagging