perl -e "while (<*>) {open(F,$_) or next;while(){print}/}}" > ..\newfile.txt