http://jsfiddle.net/y7GTe/

With this program I can successfully upload multiple files. But I wanted to limit the functionalty of the code just by permitting 7 file uploads. And only the files with names "action.txt" , "condition.txt" , "component.txt" and 4 other files ignoring the cases of the file names.
How do I modify it out? Thank you.