Snip attribute in different file formats