bugzid: 9172 - add file upload functionality

https://sailthru.fogbugz.com/default.asp?9172