class CacheCleaner {

    public void cleanCache() {
        getCacheFolderPath();
        List<String> filePaths = pathProvider.getConfigPathsFromCache(cacheFolderPath);
        for (String filePath : filePaths) {
            File actualFile = fileFactory.createFile(filePath);
            actualFile.delete();
        }
    }

}