commit document file.