Corrected support for array of files in pluginHelpers