add two res upload files and need to be modified