Changing upload files to fit the exact upload requirements