Adding very rudimentary upload handling.