Rudimentary implementation of uploading