preProcess initial upload.