now we can pass the files array to the config