WIP on upload functionality.