as you are passing an array, shouldn't the var be called `$files`?