generate Cache File