Take out trait in various file formats