Create doc and add header line