reworked the basic file system caching