Cleans up the tags file