Version 0.2: Added upload_file