Handle upload

Client side of file uploading and auto show content is done. I've created this PR so you guys can go over it first if you want.