Write the content of a list of files together in a new file