Adds the killFileCache function.