saving cache tracking info to file