Concatenates the contents of a directory