This class can be used to cache content in files. It checks whether a given cache file exists. If it exists and is not expired, the class returns the cache file contents. If it has expired, the class removes the cache file. If the cache file does not exist, the class can create a new cache file with from fresh content. The path of the directory where the cache files are stored is configurable.