In Linux, assuming xargs is available:

(ls | xargs cat) > newfilename.txt