Fixed bug where code was expecting all tags to have files, including root. Additonally, fixed a bug where a free would fail if no files had a tag.