Repair some files