Set heading in different file formats