Allow callers to override the file adapter with an enhanced version