Explicitly flush file contents when caching