First version of file uploads. WIP.