removing documents directory and passing to wiki