class Provisioner {

    List<File> findProvisionFilesInDir(File file) {
        if (file == null || !file.isDirectory()) {
            return Collections.emptyList();
        }
        try {
            File[] files = file.listFiles(new FilenameFilter() {
                @Override
                public boolean accept(File dir, String name) {
                    if (name != null && name.endsWith(".fdrp")) {
                        return true;
                    }
                    return false;
                }
            });
            return files != null ? Arrays.asList(files) : null;
        } catch (Exception e) {
            Utils.debugLog(TAG, "can not search for provisions, can not access: " + file.getAbsolutePath(), e);
            return new ArrayList<>();
        }
    }

    protected  Provisioner();

}