add file upload functionality
Merge pull request #10 from sailthru/bug-9172

bugzid: 9172 - add file upload functionality