Pass filetypes array to filesystem add-on