Bind trait in various file formats