Adjust heading in different file formats