repair sharing mechanism, alter file upload to test error handling