File caching simple class