replaced doc with text file for prepdoc