Add heading in different file formats