accept file object in the upload method
Merge branch 'fileobj-upload'
get file in memory