minor changes to InsertFileContentCached