Add default cacheDir for file adapter