build xml replaces files