This code is not deleted, but encapsulated in a processFile function now so it can be called in a callback from the hasCached check below.  I'll also call out the modification where I am adding the hashed contents to the cache.