Add assignment of materials

missing recursive color assignment into subfiles