doc ghi file