[Upload] Handling files upload

Many modifications remaining (Assert etc)