Insert trait in various file formats