Simple...
Code:
## PARSER.SH By Mr Soup Guy
#!/usr/local/bin/bash
cat * > list.txt
for VAR in `cat list.txt`; do
echo "$VAR Was Found In Stuff.. Making Directory"
mkdir $VAR
done
rm list.txt
exit 0
just place it in some script directory.. not inside your working directory..
run as
$../parser.sh .
you might also want to research about shell scripting and read the man pages on sed and awk .. you might need to customize the script a little to fit your needs.