CacheHash.addFile
This makes it possible for the user to retrieve the contents of the file without running into data races.