A simple way of caching information to disk