Revert moving upload functionality to Local