cause of tagging errors traced to sql triggers and to bug causing lots of file_insts to get assigned to a single file (in models, the __init__ was stuffing the file_id into the ORM mapped File field