Negate trait in different file formats