Create a doc file