WIP towards upload functionality.