When you mention btree you mean to overcome potential performance degradation caused by many files in one directory (at both the filesystem level and because the root.listFiles() is used) ?
Tristan
There was some discussion on a better file cache store on this list not too long ago. No one's taken it up though, feel free to put forward a proposal. Using a btree structure (rather than hash buckets) may well be a good idea too - faster lookup? :-)