Fixed tracking of cached files