Made fileupload work