remove doc directory.
fix open file event loop bug.