WIP, trying to make file upload working.