I am looking to generate an output file that contains the result of the following command: 

```
cd /path/to/files/; for each in *; do cat $each; echo "######_NEW_FILE_######"; done 

```

I have tried: 

```
cd /path/to/files/; for each in *; do cat $each; echo "######_NEW_FILE_######"; > output.txt; done 

```

This generates the file, but it is blank. I have also tried: 

```
cd /path/to/files/; for each in *; do cat $each; echo "######_NEW_FILE_######"; done; >output.txt 

```

This generates a file that is way too big. This is not what I am looking for. 
Thanks for the help.