Adding key ref static caching, min IO cost on referencing a file