class StubConfigPathProvider {

    public List<String> getConfigPathsFromCache(final String cachePath) {
        List<String> resultPaths = new ArrayList<>();
        File folder = new File(cachePath);
        folder = folder.getAbsoluteFile();
        for (File file : fileUtils.listFilesWithFilter(folder, "^[1-9]([0-9]*)_stubConfig.xml$")) {
            resultPaths.add(file.getPath());
        }
        return resultPaths;
    }

}