simple module storing and retrieving a cache file