Work in trait in various file formats