Internal function for providers to cache fileinfo in account