replaced files according to the schema