Test file cache