remake doc file