public override void Process(File file, Variables.Root variables)
        {
            base.Process(file, variables);
            variables.Increment("fileTypeAssets");

            State state = variables.GetStateObject <State>(this);

            if (++state.Count == 1)
            {
                variables.SetArraySorter("assetTypes", AssetRowSorter);
                state.TypeEntry = variables.AddToArray("assetTypes", new { title = GetAssetTypeName(type), value = 0 });

                variables.SetArraySorter("assetSizes", AssetSizeRowSorter);
                state.SizeEntry = variables.AddToArray("assetSizes", new { title = GetAssetTypeName(type), compl = 0, comph = 0, size = 0, units = "" });
            }

            state.Size += file.SizeInBytes;
        }