Passing file Array to view