just added __all__
removed some redundant commas
implemented complete function. Now able to upload files! Though still quite messy
updated example