added tools for average files, cache files