If the files are OCRed and there's some way of determining which file is which, then yes.
Otherwise you'll need to create (and run) a separate Action for each type of file.
.
Visit my custom-made PDF scripts website: http://try67.blogspot.com
Contact me personally: try6767@gmail.com