Changed the array argument to varargs to mimic the calls from
FileSystemProvider