Initial cut at caching the retrieved file. Doesn't check first to see if it's cached already.