fixed the "only" option for FileHelper::findFiles()