Changing upload files to generated ones.