Put top header back into file