Added file upload ability (not asynchronous)
Added test procedure