Added support for upload files

Finally!