add right error file to doc directory