document z tool