ok perfetto... e volendo rendere $file un array?