rebuild files