Join stream of files into an array