So for some reason when I do something like
find $PWD -type f > listoffiles.txt
To create a list of files in current directory and save it to a list, The file "listoffiles.txt" itself is somehow included in that, which tells me that it's instantiated prior to STDOUT of my pipe. How exactly can I get it to not do that?