Fill in trait in various file formats