Remove caching (seldom useful).
Let File class validate filenames.