The code implements the file cache which works on LRU principle.