Set label in different file formats