more cache file gen stuff