Add file upload support
remove debug output