tweak to file gen and size cache