Clear up trait in various file formats