Added support for file upload (issue #5)