finish the attrib file