There was another method getAllFiles which use PrismHelper as parameter. I revert this change.