in reply to Re^2: writing each array element to a unique filein thread writing each array element to a unique file