change the split method to be a class, since it is natually needed to delete all the cache files.