add a method to change cacheFilePath