(WIP) First working prototype of upload file