1) MS-Word (i.e. doc) and
2) Simple Text.
I need to process these files separately. I have written a simple module to extract file extension and process the files accordingly. However I am Not happy with this approach because ideally supplier can rename extension to any other name (for e.g. "abcd.doc" can be renamed as "abcd.txt", but it would still be DOC file).