Move the remaining method from CacheFileUtils to the Filesystem class